Class name clash with other plugin when testing.
-
Hi, had a 500 “it’s all gone wrong” error, didn’t bother to uninstall another plugin I was testing and when I activated this this happened:
/plugins/mailchimp-wp/providers/mailchimp/MailChimp.php on line 17, referer: https://bpsl.local/wp-admin/widgets.php [Wed Nov 26 20:27:32.156144 2014] [:error] [pid 8495] [client 192.168.1.65:59526] PHP Fatal error: Cannot redeclare class MailChimp in /var/www/sites/bpstl/wp-conten t/plugins/mailchimp-wp/providers/mailchimp/MailChimp.php on line 17
Didn’t have time to follow the clues today but will be doing so to find out which plugin clashes with this one.
If refactoring is not an option then maybe if (class_exists)?
This looks like a really nice plugin but I can’t expect clients to know of such gotchas or how to write the code to strip out an activated plugin in the database then drop-kick the folder.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Class name clash with other plugin when testing.’ is closed to new replies.