Fatal Error on plugin activation
-
Upon attempting to activate the plugin on my site, I get the following error:
Fatal error: Uncaught TypeError: json_decode(): Argument #1 ($json) must be of type string, array given in /usr/local/htdocs/<mysite.com>/wp-content/plugins/broken-link-checker/app/admin-pages/local-submenu/class-controller.php:71
I am operating WordPress in multisite mode, and have had BLC running successfully on other sites in the network for quite some time now. But when I try to enable the plugin on any site now, I get this message.
I am running BLC version 2.2.2.
Here’s the full error stack:
Fatal error: Uncaught TypeError: json_decode(): Argument #1 ($json) must be of type string, array given in /usr/local/htdocs/mysite.com/wp-content/plugins/broken-link-checker/app/admin-pages/local-submenu/class-controller.php:71 Stack trace: #0 /usr/local/htdocs/mysite.com/wp-content/plugins/broken-link-checker/app/admin-pages/local-submenu/class-controller.php(71): json_decode() #1 /usr/local/htdocs/mysite.com/wp-content/plugins/broken-link-checker/core/controllers/class-admin-page.php(146): WPMUDEV_BLC\App\Admin_Pages\Local_Submenu\Controller->prepare_props() #2 /usr/local/htdocs/mysite.com/wp-content/plugins/broken-link-checker/core/class-loader.php(335): WPMUDEV_BLC\Core\Controllers\Admin_Page->init() #3 [internal function]: WPMUDEV_BLC\Core\Loader->load_component() #4 /usr/local/htdocs/mysite.com/wp-content/plugins/broken-link-checker/core/class-loader.php(212): array_map() #5 /usr/local/htdocs/mysite.com/wp-content/plugins/broken-link-checker/core/class-loader.php(185): WPMUDEV_BLC\Core\Loader->load_components() #6 /usr/local/htdocs/mysite.com/wp-content/plugins/broken-link-checker/core/class-loader.php(147): WPMUDEV_BLC\Core\Loader->init_app() #7 /usr/local/htdocs/mysite.com/wp-content/plugins/broken-link-checker/core/class-loader.php(113): WPMUDEV_BLC\Core\Loader->init() #8 /usr/local/htdocs/mysite.com/wp-content/plugins/broken-link-checker/core/utils/abstracts/class-singleton.php(52): WPMUDEV_BLC\Core\Loader->__construct() #9 /usr/local/htdocs/mysite.com/wp-content/plugins/broken-link-checker/broken-link-checker.php(121): WPMUDEV_BLC\Core\Utils\Abstracts\Singleton::instance() #10 /usr/local/htdocs/mysite.com/wp-content/plugins/broken-link-checker/core/class-activation.php(34): WPMUDEV_BLC\wpmudev_blc_instance() #11 /usr/local/htdocs/mysite.com/wp-content/plugins/broken-link-checker/core/utils/abstracts/class-singleton.php(52): WPMUDEV_BLC\Core\Activation->__construct() #12 /usr/local/htdocs/mysite.com/wp-content/plugins/broken-link-checker/broken-link-checker.php(135): WPMUDEV_BLC\Core\Utils\Abstracts\Singleton::instance() #13 /usr/local/htdocs/mysite.com/wp-includes/class-wp-hook.php(310): WPMUDEV_BLC\{closure}() #14 /usr/local/htdocs/mysite.com/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #15 /usr/local/htdocs/mysite.com/wp-includes/plugin.php(517): WP_Hook->do_action() #16 /usr/local/htdocs/mysite.com/wp-admin/plugins.php(194): do_action() #17 {main} thrown in /usr/local/htdocs/mysite.com/wp-content/plugins/broken-link-checker/app/admin-pages/local-submenu/class-controller.php on line 71
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Fatal Error on plugin activation’ is closed to new replies.