Fatal Errors on Activation
-
On trying to activate this plugin, it produces a fatal error:
Fatal error: Cannot redeclare custom_upload_mimes()
After deactivating the plugin that has already declared
custom_upload_mimes()
, and then trying again, I get:
Fatal error: Cannot redeclare register_mysettings()
Thankfully, if I deactivate the plugin that has already declared
register_mysettings()
, this plugin activates successfully.Please could you add some code to check whether these two declarations have already been made?
- The topic ‘Fatal Errors on Activation’ is closed to new replies.