Bingo! Thanks for the fix.
Printable View
Is anything needed for the update besides just copying the files over?
Please follow the instructions in the mod installation package.
I wasn't specific enough, I guess. I've already made all the changes that the Mailchimp integration package calls for. What I'm asking is whether there are other changes needed by the mod.
I'm getting an error on one site (not on my server where there's no problem)
PHP Parse error: syntax error, unexpected '[' in /home/xxxxxx/public_html/includes/functions/extra_functions/mailchimp.php on line 20
In dreamweaver, it also claims that line is a problem. The server where it's a fatal error is running 5.5.30 whereas my server is running 5.5.29.
Any ideas?
Will that work on lower php levels as well?
Yes. What I wrote above will work with PHP 5
It then objects to the brackets in line 26
private function _execute_request($method, $endpoint, Array $payload = [])
Sigh. ya. Having the keyword "Array" in the function declaration isn't allowed in older PHP versions.
Change "Array $payload" to just "$payload".
Probably more issues after that too. /me punts to swguy ...