Hi @cpaprotna,
Thanks for the post! I definitely want to take a look and see what’s going on here. Can you please get back to me with the following details?
– What version of PHP is currently running on your site?
– What theme is currently installed?
– What other plugins are currently active?
– If you temporarily revert to a default WordPress theme and deactivate all other installed plugins, does the issue persist? (This may sound a bit silly but it helps us rule out potential theme/plugin conflicts)
That being said, while we are experts at the plugin we developed, we aren’t as intimately familiar with WordPress and because that is the case we won’t be your best resource for questions relating to WordPress specifically. However, I did locate this WordPress release archive that notes the most current available secured version of WordPress being 4.6.1, with some Beta variations of WordPress 4.7 available as well: https://ww.wp.xz.cn/news/category/releases/
I’ll keep my eyes open for your reply – thanks again!
Pearl
Hi, sorry to interrupt,
but in that file
/home/energyratersplus/public_html/wp-content/plugins/mailchimp/lib/mailchimp/mailchimp.php, line 48 to 62
should look like this:
if( is_array( $request ) && !empty( $request['response']['code'] ) ){
if( $request['response']['code'] == 200 ) {
return json_decode( $request['body'], true );
} else {
$error = json_decode( $request['body'], true );
if( isset( $error['detail'] ) ){
$error = new WP_Error('mailchimp-get-error', $error['detail']);
} else {
$error = new WP_Error('mailchimp-get-error', __( "An error occured", 'mailchimp_i18n' ) );
}
return $error;
}
} else {
return false;
}
hope it helps,
p.
When I finally went back to work on this, the error was gone. I’m not sure what was changed on the site.
Hey @cpaprotna,
Glad to hear things seem to have sorted themselves out here. That said, if something crops up and you have more questions, always feel free to let us know!
Thanks,
Malachite