• Resolved benoitfouc

    (@benoitfouc)


    Hello there, once per day i receive an email with this error :

    Une erreur de type E_ERROR a été causée dans la ligne 461 du fichier www/wp-content/plugins/age-gate/public/class-age-gate-public.php. Message d’erreur : Uncaught Error: Call to a member function is_edit_mode() on null in www/wp-content/plugins/age-gate/public/class-age-gate-public.php:461
    Stack trace:
    #0 www/wp-includes/class-wp-hook.php(303): Age_Gate_Public->customiser_js_disable('')
    #1 www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #2 www/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #3 www/wp-includes/general-template.php(3015): do_action('wp_head')
    #4 www/wp-content/themes/theratio/404.php(10): wp_head()
    #5 www/wp-content/plugins/wp-cerber/cerber-load.php(4613): include('w...')
    #6 www/wp-content/plugins/wp-cerber/cerber-load.php(2424): cerber_404_page()
    #7 www/wp-content/plugins/wp-cerber/cerber-load.php(2391): cerber_access_control()
    #8 www/wp-includes/class-wp-hook.php(303): {closure}('')
    #9 www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filt

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @benoitfouc,

    I’ll see if I can reproduce it.

    Thanks
    Phil

    Thread Starter benoitfouc

    (@benoitfouc)

    Hi there, okay good luck. I’ve some informations in order to help you :

    WordPress version 5.9
    Theme : Theratio (1.1.9)
    Concerned plugin : Age Gate (version 2.20.0)
    PHP version 7.4.25

    On the error message i see “wp-cerber”, i’m using this plugin yes.

    regards

    Thread Starter benoitfouc

    (@benoitfouc)

    Hello there ! i’ve more information about this dayli issue !

    That occure when WC Cerber block an IP who try to access to the wp-login.php page.
    Each time i receive the email with this error, i see on my logs : https://i.gyazo.com/317e6540ecfe6f833e1351e9cd901452.png

    These IP are lock because i set a customize login page URL and automaticly block IP who try to access to the wp-login.php page on the WP Cerber settings page.

    Now, i think you can more easly reproduce this issue ??

    regards

    Thread Starter benoitfouc

    (@benoitfouc)

    Hello there, the issue still here and appear everydays : https://i.gyazo.com/477fa45405d5d3dcb8d6e858cb232f1d.png

    regards

    Plugin Author Phil

    (@philsbury)

    Hi @benoitfouc,

    Finally found it. Looks like it was Age Gate + Elementor + WP Cerber and only when you send wp-login.php to a custom 404. Should be fixed in 2.20.1.

    Thanks
    Phil

    Thread Starter benoitfouc

    (@benoitfouc)

    Hello there, thank you soo much for this fix.

    Have a nice day
    regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Uncaught Error: Call to a member function is_edit_mode() on null’ is closed to new replies.