I've got a campaign set up with the advanced setting ticked but am still unable to turn on the checkout pane as it's still not showing at admin/store/settings/checkout/edit/panes

Any suggestions?

CommentFileSizeAuthor
#6 uc_mailchimp.array_.patch573 bytestorgospizza

Comments

Dubber Dan’s picture

Anyone?

mattcasey’s picture

Make sure you look below in the collapsed fieldsets, it's called 'Subscription Options'.. I was looking for a "mailchimp" pane and missed it at first.

essbee’s picture

I have the pane but the lsist are not showing up in it?
Any ideas why that would be - the lists are working as they appear on /mailchimp/subscribe - so the API link is obviously working.

Thoughts?

ryansbrennan’s picture

I'm having the same issue. Any help would be appreciated.

web-beest’s picture

I've found a possible cause for the problem in versio 3.0. When you check the logging (admin -> reports -> recent log entries) you'll probably see two errors:
Invalid argument supplied for foreach() in /sites/all/modules/contrib/uc_mailchimp/uc_mailchimp.module on line 136.
and
call_user_func_array() expects parameter 2 to be array, null given in /sites/all/modules/contrib/uc_mailchimp/uc_mailchimp.module on line 262.

So I've altered the module and changed line 250 from

function _uc_mailchimp_call_api($method,$params=NULL) {

into

function _uc_mailchimp_call_api($method,$params=array()) {

and presto: here are your lists from mailchimp.

torgospizza’s picture

Component: User interface » Code
Category: support » bug
Status: Active » Needs review
StatusFileSize
new573 bytes

This looks like a bug report to me.

Fixing the issue as described in #5 fixed the issue for me. Attached is a patch.