• Getting this error. We are using php 8.5.

    An error of type E_ERROR was caused in line 195 of the file /wp-content/plugins/defender-security/src/class-controller.php. Error message: Uncaught TypeError: WP_Defender\Controller::check_route(): Argument #1 ($route) must be of type string, null given, called in /wp-content/plugins/defender-security/src/controller/class-firewall.php on line 659 and defined in /wp-content/plugins/defender-security/src/class-controller.php:195
    Stack trace:
    #0 /wp-content/plugins/defender-security/src/controller/class-firewall.php(659): WP_Defender\Controller->check_route()
    #1 /wp-content/plugins/defender-security/src/controller/class-firewall.php(713): WP_Defender\Controller\Firewall->actions_for_blocked()
    #2 /wp-content/plugins/defender-security/src/controller/class-firewall.php(1199): WP_Defender\Controller\Firewall->maybe_lockout()
    #3 /wp-content/plugins/defender-security/src/controller/class-firewall.php(115): WP_Defender\Controller\Firewall->maybe_lockout_gathered_ips()
    #4 /wp-content/plugins/defender-security/lib/packages/DI/Definition/Resolver/ObjectCreator.php(125): WP_Defender\Controller\Firewall->__construct()
    #5 /wp-content/plugins/defender-security/lib/packages/DI/Definition/Resolver/ObjectCreator.php(55): WPMU_DEV\Defender\Vendor\DI\Definition\Resolver\ObjectCreator->createInstance()
    #6 /wp-content/plugins/defender-security/lib/packages/DI/Definition/Resolver/ResolverDispatcher.php(62): WPMU_DEV\Defender\Vendor\DI\Definition\Resolver\ObjectCreator->resolve()
    #7 /wp-content/plugins/defender-security/lib/packages/DI/Container.php(360): WPMU_DEV\Defender\Vendor\DI\Definition\Resolver\ResolverDispatcher->resolve()
    #8 /wp-content/plugins/defender-security/lib/packages/DI/Container.php(142): WPMU_DEV\Defender\Vendor\DI\Container->resolveDefinition()
    #9 /wp-content/plugins/defender-security/src/traits/defender-bootstrap.php(287): WPMU_DEV\Defender\Vendor\DI\Container->get()
    #10 /wp-content/plugins/defender-security/src/class-bootstrap.php(44): WP_Defender\Bootstrap->init_modules_common()
    #11 /wp-content/plugins/defender-security/src/traits/defender-bootstrap.php(564): WP_Defender\Bootstrap->init_modules()
    #12 /wp-includes/class-wp-hook.php(341): WP_Defender\Bootstrap->{closure:WP_Defender\Traits\Defender_Bootstrap::includes():561}()
    #13 /wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
    #14 /wp-includes/plugin.php(522): WP_Hook->do_action()
    #15 /wp-settings.php(720): do_action()
    #16 /wp-config.php(111): require_once('...')
    #17 /wp-load.php(50): require_once('...')
    #18 /wp-admin/admin.php(35): require_once('...')
    #19 /wp-admin/index.php(10): require_once('...')
    #20 {main}
    thrown
Viewing 1 replies (of 1 total)
  • Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @sg313,

    We would like to give this a closer look. One possibility for such an issue is if opcache.save_comments isn’t enabled. Could you please check with your hosting provider if the server has opcache.save_comments enabled or not?

    If its enabled and still you notice the same issue then could you please follow up with us in the following email  wpsupport@incsub.com  using this template:

    Subject: "ATTN: WPMU DEV support - wp.org" 

    Message:

    Ticket URL:

    Site URL

    Regards,

    Nithin

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.