Support » Plugin: Cerber Security, Anti-spam & Malware Scan » Problem after upgrade to WordPress 5.2

  • Resolved weichieh


    After the upgrade, I am receiving notification that WordPress has caught an error with my Divi theme. The page with the error is

    Below is the error message from WordPress:

    An error of type E_ERROR was caused in line 212 of the file /home/swarmnet/public_html/wp-content/themes/Divi/functions.php. Error message: Uncaught Error: Call to undefined function et_load_unminified_scripts() in /home/swarmnet/public_html/wp-content/themes/Divi/functions.php:212
    Stack trace:
    #0 /home/swarmnet/public_html/wp-includes/class-wp-hook.php(286): et_divi_load_scripts_styles(”)
    #1 /home/swarmnet/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #2 /home/swarmnet/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #3 /home/swarmnet/public_html/wp-includes/script-loader.php(2537): do_action(‘wp_enqueue_scri…’)
    #4 /home/swarmnet/public_html/wp-includes/class-wp-hook.php(286): wp_enqueue_scripts(”)
    #5 /home/swarmnet/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #6 /home/swarmnet/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #7 /home/swarmnet/public_html/wp-includes/general-template.php(2746): do_action(‘wp_head’)
    #8 /home/swarmnet/public_html/wp-content/themes/Divi/header.php(27): wp_head()
    #9 /home/swarmnet/public_html/wp-inclu

    Divi support has reviewed by site configuration and cannot find any issues. They suspect that the issue might be with WP Cerber as I am using a custom login URL configured through the plugin.

    Please advise.

Viewing 15 replies - 16 through 30 (of 49 total)
  • jacampbell


    @afonseca08 You’re welcome it is driving me and some of my clients nuts as well getting the notifications. So for now I think I have to switch everyone to the different security plugin.

    Plugin Author Gioni


    @afonseca08 @jacampbell @arlenesey @henkisdabro I’ll look into it this week soon.



    It seems that the issue is changing the login URL. Anything different than wp-login.php is recognized as an error after upgrading to WP 5.2.1
    I tested different security plugins and anytime I changed to a different login the site “experienced technical difficulties”
    Hopefully will help wordpress to fix the issue.

    Plugin Author Gioni


    @afonseca08 @jacampbell @arlenesey @henkisdabro There will be an update to the custom login page feature in the upcoming release next week. Let me know how it goes.



    I’m facing the same problem. I have already upgraded Cerber to version 8.4. The really strange stuff is that I have many websites with Cerber+Divi and I get this error just with one website! It seems like a combination of PHP version + Divi + Cerber + maybe other(s) plugin(s)…



    I’m having this problem too. Please provide a fix ASAP. I have production sites that are affected. Let me know if I can help in any way. Thanks!!



    I think I have the same problem as everyone else, but related to Gutenberg:

    An error of type E_ERROR was caused in line 58 of the file /usr/home/pyxelr/domains/ Error message: Uncaught Error: Call to a member function query() on null in /usr/home/pyxelr/domains/
    Stack trace:
    #0 /usr/home/pyxelr/domains/ gutenberg_override_script(‘react’, ‘http://pawelcis…’, Array, NULL)
    #1 /usr/home/pyxelr/domains/ gutenberg_register_vendor_script(‘react’, ‘https://unpkg.c…’, Array)
    #2 /usr/home/pyxelr/domains/ gutenberg_register_vendor_scripts()
    #3 /usr/home/pyxelr/domains/ gutenberg_register_scripts_and_styles(”)
    #4 /usr/home/pyxelr/domains/ WP_Hook->apply_filters(”, Array)
    #5 /usr/home/pyxelr/domains/



    @gioni I have done the updates on all sites running Cerber, and still receiving email from WP. One of my clients got tired of the emails and asked me to change the security, this also stopped the emails.



    @gioni I waited for some time to have the updates take place on a couple of websites and I am also continuing to see the same error on the affected sites. Any ideas?

    Plugin Author Gioni


    @pyxelr It’s not your case, ask the Gutenberg team for help.

    Plugin Author Gioni


    @afonseca08 @jacampbell @arlenesey @henkisdabro

    For now, there is a quick and dirty way and it’s disabling those Site Health inspections with a plugin like or



    @gioni Thank you, those would help with the daily emails but not remove all the error messages that are cluttering up our logs. To be honest, that’s probably not a step I’ll take as I find value in the site health inspection feature. So I’m hoping there are other avenues you can explore in WP Cerber?

    @gioni I’m following-up to see if there is any upcoming update to resolve the root cause. I’d like to keep the alternate custom login url feature active but the next step will probably be to disable it if no forthcoming fix is in the works.

    Similar problem here but with my theme (I don’t use Divi).

    Error Details
    An error of type E_ERROR was caused in line 307 of the file /srv/data/web/vhosts/ Error message: Uncaught Error: Call to undefined function wc_print_notices() in /srv/data/web/vhosts/
    Stack trace:
    #0 /srv/data/web/vhosts/ woo_shrk_print_notices('')
    #1 /srv/data/web/vhosts/ WP_Hook->apply_filters(NULL, Array)
    #2 /srv/data/web/vhosts/ WP_Hook->do_action(Array)
    #3 /srv/data/web/vhosts/ do_action('wp_footer')
    #4 /srv/data/web/vhosts/ wp_footer()
    #5 /srv/data/web/vhosts/ require_once('/srv/data/web/v...')
    #6 /srv/data/web/vhosts/ load_template('/srv/data/web/v...', true)
    #7 /srv/data/web/vhosts/ locate_te

    @gioni do you think it’s also Cerber or should I contact my theme “UX Shop” support?

    I’m experiencing the same issue since I upgraded to WP 5.2.x. I’m using WP Cerber with Divi, but I don’t have a user defined login!

    Here’s the error message which is found in my error log and wich I get additionally every day via email:

    Ein Fehler vom Typ E_ERROR wurde in der Zeile 212 der Datei /var/www/clients/client1/web2/web/wp-content/themes/Divi/functions.php verursacht. Fehlermeldung: Uncaught Error: Call to undefined function et_load_unminified_scripts() in /var/www/clients/client1/web2/web/wp-content/themes/Divi/functions.php:212
    Stack trace:
    #0 /var/www/clients/client1/web2/web/wp-includes/class-wp-hook.php(286): et_divi_load_scripts_styles('')
    #1 /var/www/clients/client1/web2/web/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #2 /var/www/clients/client1/web2/web/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #3 /var/www/clients/client1/web2/web/wp-includes/script-loader.php(2539): do_action('wp_enqueue_scri...')
    #4 /var/www/clients/client1/web2/web/wp-includes/class-wp-hook.php(286): wp_enqueue_scripts('')
    #5 /var/www/clients/client1/web2/web/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #6 /var/www/clients/client1/web2/web/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #7 /var/www/clients/client1/web2/web/wp-includes/general-template.php(2745): do_action('wp_head')
    #8 /var/www/clients/client1/web2/web/wp-content/themes

    Please let me know, if I can provide more details to solve this problem.

    • This reply was modified 9 months, 2 weeks ago by gabyrau.
Viewing 15 replies - 16 through 30 (of 49 total)
  • You must be logged in to reply to this topic.