Plugin could not be activated fatal error
-
On my local dev-server, the plugin seems to work okay, however after uploading everything to a live server it breaks the site unless I deactivate it. And then when I try to activate the plugin again, I get the following error:
Plugin could not be activated because it triggered a fatal error.
Fatal error: Uncaught exception ‘InvalidArgumentException’ with message ‘Passed variable is not an array or object, using empty array instead’ in /home/adtrakagency/public_html/t/the-fireplace-studio/wp-content/plugins/wordpress-23-related-posts-plugin/config.php:74 Stack trace: #0 /home/adtrakagency/public_html/t/the-fireplace-studio/wp-content/plugins/wordpress-23-related-posts-plugin/config.php(74): ArrayObject->__construct(false) #1 /home/adtrakagency/public_html/t/the-fireplace-studio/wp-content/plugins/wordpress-23-related-posts-plugin/config.php(126): wp_rp_get_options() #2 [internal function]: wp_rp_activate_hook(”) #3 /home/adtrakagency/public_html/t/the-fireplace-studio/wp-includes/class-wp-hook.php(298): call_user_func_array(‘wp_rp_activate_…’, Array) #4 /home/adtrakagency/public_html/t/the-fireplace-studio/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #5 /home/adtrakagency/public_html/t/the-fireplace-studio/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #6 /home/adtrakagency/ in /home/adtrakagency/public_html/t/the-fireplace-studio/wp-content/plugins/wordpress-23-related-posts-plugin/config.php on line 74
I am using PHP version 5.5.37
Any help would be much appreciated. Thanks
- The topic ‘Plugin could not be activated fatal error’ is closed to new replies.