3

How to display number of list subscribers from MailChimp in PHP with API 3.0

Today I was trying to show the total number of list subscribers for a Mailchimp list I maintain. I found some more complex solutions using API wrappers (like drewm’s wrapper on Github) but they were more complex than I needed, and still didn’t fully solve the issue – just presented the tools.  So a friend helped me work on figuring out the 3.0 API connection to get the subscriber total, and I combined that with the method outlined here to limit the API connections to one per minute. Here’s the code, which you’ll need to tweak slightly to get your …

5

How to solve ERR_TOO_MANY_REDIRECTS with WooCommerce, WordPress, and Chrome

A quick note for anyone experiencing this ERR_TOO_MANY_REDIRECTS issue I spent half the day trying to fix today, since I found no blogs on it. Apparently, Chrome was the only browser throwing this issue. I had a client’s e-commerce site (WordPress and WooCommerce) which suddenly started throwing Too Many Redirects errors today. Safari, Firefox, and IE all worked fine. Typically, I would go to wp-admin first to try and fix this, then check the siteurl and home values in the options table in the WordPress db. Both, in this case, were fine. Googling turned up no help. I wound up finding the issue …