AutoChimp Error
-
Hi,
I noticed that after updating to v1.14 Autochimp generates an error message at every user registration event:
Warning: Missing argument 4 for AC_ManageMailUser(), called in /home/aranycs1/public_html/wp-content/plugins/autochimp/88-autochimp.php on line 1000 and defined in /home/aranycs1/public_html/wp-content/plugins/autochimp/88-autochimp.php on line 407
Warning: Cannot modify header information – headers already sent by (output started at /home/aranycs1/public_html/wp-content/plugins/autochimp/88-autochimp.php:407) in /home/aranycs1/public_html/wp-includes/pluggable.php on line 881
I seems to me to indicate a bug or compatibility problem with wp3.4
Best Regards,
Csaba Czompo
http://www.aranycsillag.net
-
Getting pretty much the same thing here…
[21-Jun-2012 04:11:11] PHP Warning: Missing argument 4 for AC_ManageMailUser(), called in /mypath/wp-content/plugins/autochimp/88-autochimp.php on line 1000 and defined in /mypath/wp-content/plugins/autochimp/88-autochimp.php on line 407
Same here on WP3.3.2 – so seems to be a bug in the latest AC update.
Warning: Missing argument 4 for AC_ManageMailUser(), called in /home/[snip]/wp/wp-content/plugins/autochimp/88-autochimp.php on line 1000 and defined in /home/[snip]/wp/wp-content/plugins/autochimp/88-autochimp.php on line 407
Warning: Cannot modify header information – headers already sent by (output started at /home/[snip]/wp/wp-content/plugins/autochimp/88-autochimp.php:407) in /home/[snip]/wp/wp-includes/pluggable.php on line 866
Same error here, Autochimp 1.14 and WP just updated to 3.4.
Same error!! ……. anyone?? Disabled it.
The same for me …
How to download the previous version, waiting for the bug to be fixed ?Simple fix:
Open 88-autochimp.php
Line 169 – change to AC_ManageMailUser( MMU_UPDATE, $user_info, TRUE, NULL );
Line 1000 – change to $result = AC_ManageMailUser( MMU_ADD, $user_info, TRUE, NULL );
Line 1011 – change to $result = AC_ManageMailUser( MMU_DELETE, $user_info, TRUE, NULL );This will fix the errors
@talk2bks thanks, it worked for me.
@talk2bks thanks!
@talk2bks
As a matter of fact, it is not the argument 4 that is missing in that function call, but argument 3.
Argument 3 is not a boolean variable (true/false) but an array with user data, which should be set to NULL where missing. And the 4th argument is, in fact a boolean, to be left as TRUE.So the proper fix would be:
Line 169 – change to AC_ManageMailUser( MMU_UPDATE, $user_info, NULL, TRUE );
Line 1000 – change to $result = AC_ManageMailUser( MMU_ADD, $user_info, NULL, TRUE );
Line 1011 – change to $result = AC_ManageMailUser( MMU_DELETE, $user_info, NULL, TRUE );talk2bks,
THANK YOU!
I have tried to update as outlined and get the error message
“
Parse error: syntax error, unexpected T_VARIABLE in /home/accommnz/public_html/wp-content/plugins/autochimp/88-autochimp.php on line 638″any feedback on this for me
- The topic ‘AutoChimp Error’ is closed to new replies.