Hello, I have a problem when someone tries to access the address /wp-login or /wp-login.php, (It is blocked and the login page was renamed), but when someone tries to access that page, they get an error like this:
There has been a critical error on the website
And in the log I have this error:
“PHP message: PHP Fatal error: Uncaught Error: Call to undefined function et_pb_is_pagebuilder_used() in /web/xxxxxx.xxx/public_html/wp-content/themes/Divi/functions.php:283
Stack trace:
#0 /web/xxxxxx.xxx/public_html/wp-includes/class-wp-hook.php(324): et_divi_load_scripts_styles()
#1 /web/xxxxxx.xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /web/xxxxxx.xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /web/xxxxxx.xxx/public_html/wp-includes/script-loader.php(2272): do_action()
#4 /web/xxxxxx.xxx/public_html/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#5 /web/xxxxxx.xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /web/xxxxxx.xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /web/xxxxxx.xxx/public_html/wp-includes/general-template.php(3064)” while reading response header from upstream, client: xx.xx.xx.xx, server: xxxxxx.xxx, request: “GET /wp-login HTTP/2.0”, upstream: “fastcgi://unix:/run/php/php8.3-fpm-xxxxxx.xxx.sock:”, host: “xxxxxx.xxx”
Everything works fine if I access through the correct renamed login page, these are bots that try to access wp-login and compromise the page with errors.
Any Ideas?.
Than you