Support » Plugin: Broken Link Checker » Fatal error: Uncaught Error: Call to a member function load_modules() on null

  • Hi,

    I’ve had this plugin installed on our production site for over a year now and been very happy with it.

    However, the other day, when I refreshed the permalinks on the production site, the site crashed. When I check the logs, this is the error I see:

    PHP Fatal error:  Uncaught Error: Call to a member function load_modules() on null in /code/wp-content/plugins/broken-link-checker/core/init.php:291
    Stack trace:
    #0 /code/wp-includes/class-wp-hook.php(287): blc_init('')
    #1 /code/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /code/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /code/wp-settings.php(540): do_action('init')
    #4 phar:///opt/pantheon/wpcli/wp-cli-2.4.0.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1237): require('/code/wp-settin...')
    #5 phar:///opt/pantheon/wpcli/wp-cli-2.4.0.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1158): WP_CLI\Runner->load_wordpress()
    #6 phar:///opt/pantheon/wpcli/wp-cli-2.4.0.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(23): WP_CLI\Runner->start()
    #7 phar:///opt/pantheon/wpcli/wp-cli-2.4.0.phar/vendor/wp-cli/wp-cli/php/bootstrap.php(74): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState))
    #8 phar:///opt/pantheon/wpcli/wp-cli-2.4.0.phar/vendor/wp-cli/w in /code/wp-content/plugins/broken-link-checker/core/init.php on line 291

    We have done this many times in this production environment without this issue, so I’m not sure what changed. I was able to get the site back up and running by removing BLC from the active plugins directly in the database.

    At this point, the site is very large and does have a lot of links to crawl through, is it possible the plugin was just overloaded?

Viewing 15 replies - 1 through 15 (of 21 total)
Viewing 15 replies - 1 through 15 (of 21 total)
  • You must be logged in to reply to this topic.