Internal Server Error when Defender is active

I get Internal server error when I try to log in, change user language or try to update any post in WordPress while the Defender plugin is active.

  • Phil Samcro
    • The Crimson Coder

    Hey Guys,

    i got a mail from wordpress, to this issue:

    “Howdy!

    Since WordPress 5.2 there is a built-in function that detects when a plugin or theme causes a fatal error on your website and informs you with this automated email.

    In this case WordPress has intercepted an error in one of your plugins, wp-defender.

    First visit your website (https://richter-immobilien.com/) and check it for visible problems. Next, visit the page where the error occurred (https://richter-immobilien.com/wp-admin/profile.php) and check for visible problems.

    Please contact your hosting company for assistance in further investigation of this issue.

    If your website seems to be broken and you can no longer access your dashboard as usual, WordPress now has a special “restore mode”. This allows you to securely log in to your dashboard and perform further investigation.

    https://richter-immobilien.com/wp-login.php?action=enter_recovery_mode&rm_token=sIckiGWGYghBjW6Wen5Tow&rm_key=nZS3ZOacBfWkT5ToIuCEVO

    To protect your website, this link expires in 1 day. But don’t worry: A new link will be sent to you by e-mail if the error occurs again after the deadline.

    If you need help with this problem, you may be asked for some of the following information:
    WordPress-Version 5.3.2
    Aktuelles Theme: Divi Child (Version 1.0.0)
    Aktuelles Plugin: (Version )
    PHP-Version 7.3.15

    Fehler-Details
    ==============
    Ein Fehler vom Typ E_ERROR wurde in der Zeile 114 der Datei /mnt/web324/a0/68/5423468/htdocs/www/wp-content/plugins/wp-defender/main-activator.php verursacht. Fehlermeldung: Uncaught Error: Class ‘WP_Defender\Behavior\Utils’ not found in /mnt/web324/a0/68/5423468/htdocs/www/wp-content/plugins/wp-defender/main-activator.php:114
    Stack trace:
    #0 /mnt/web324/a0/68/5423468/htdocs/www/wp-includes/class-wp-hook.php(288): WD_Main_Activator->init(”:wink:
    #1 /mnt/web324/a0/68/5423468/htdocs/www/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
    #2 /mnt/web324/a0/68/5423468/htdocs/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /mnt/web324/a0/68/5423468/htdocs/www/wp-settings.php(523): do_action(‘init’:wink:
    #4 /mnt/web324/a0/68/5423468/htdocs/www/wp-config.php(119): require_once(‘/mnt/web324/a0/…’:wink:
    #5 /mnt/web324/a0/68/5423468/htdocs/www/wp-load.php(37): require_once(‘/mnt/web324/a0/…’:wink:
    #6 /mnt/web324/a0/68/5423468/htdocs/www/wp-admin/admin.php(34): require_once(‘/mnt/web324/a0/…’:wink:
    #7 /mnt/web324/a0/68/5423468/htdocs/www/wp-admin/user-edit.php(10): require_once(‘/mnt/web324/a0/…’:wink:
    #8 /mnt/web324/a0/68/5423468/htdocs/www/wp-admin/profile.php(18): require_on

    I hope this helps!

    Thanks in advance
    BR
    Phil

  • Patrick Freitas
    • FLS

    Hi Phil Samcro

    Thank you for the update.

    I was able to replicate the issue on your web site, I also checked for a plugin conflict but without success.

    Wouldn’t you mind please run a full backup of your website, switch to a default WordPress theme, then install Defender back and check if the issue is gone? If the issue is gone, try to update Divi to the latest version.

    I will be also escalating this ticket to our Second Line Support, once the team replies to the ticket you will receive a notification.

    Note, the SLS support deal with a more complex situation, a delay on response can be expected depending on the issue, thank you for understanding.

    Let us know the result you got on the tests.
    Best Regards
    Patrick Freitas

  • Phil Samcro
    • The Crimson Coder

    Hey Patrick,

    thanks for responding! Your tipp worked!
    I switched theme, installed defender by new and could switch back to divi again then without problems.

    Whats the source of this problem? I do have it also on other sites..

    Thanks in advance

    BR
    Phil

  • Ohidul Islam
    • Bug hunter

    Hi Phil Samcro,

    Glad to hear back from you, hope you’re doing well today!

    It could happen that some of the core plugin files are modified/changed by somehow or there are any other issues happened that is why re-installing fresh Defender Pro fixed the issue. You can try applying the same solutions on your other site to check if this works again so we could get some more information from it.

    Please let us know about this, we will be waiting to hear from you regarding this matter.

    Best regards,
    Ohid