I’m having the same problem and it looks like the error that’s getting returned is ‘no_list_selected’ although I have definitely checked the box on one of my 5 lists in the admin interface for this plugin and saved it…
So, I looked at the ‘subscribe’ method of MC4WP_Lite_Form.php and it was looking for an array of mailchimp list ids to use in the option called ‘checkbox_lists’, but when I looked in the options table, I saw no such option, and instead, an option called ‘form_lists’ containing the right information 😉 So I just made the subscribe method reference that option, and it worked like a charm.
Thread Starter
mltsy
(@mltsy)
Or even simpler! 🙂
ob_start();
// ... output HTML, etc ...
return ob_get_clean();