Hello everybody!
I've already sought different types of help, thinking it was a problem with the plugins in question that I'm using in the project (Elementor and Woocommerce), but all attempts to fix it have no effect.
https://wordpress.org/support/topic/error-404-preview-does-not-load/
https://wordpress.org/support/topic/error-404-preview-does-not-load/
They told me to contact the hosting panel/server as the problem could be here. I even reproduced a backup of the website in question on localhost and the local problem does not persist.
Well, could it be a failure or lack of configuration in the web server on my aapanel?
= LET'S GET TO THE PROBLEM =
When trying to edit any page with Elementor it displays the following error message:
Preview cannot be loaded - Click to preview a debug
And when I click on debug preview I come across the following message.
Fatal error: Uncaught ValueError: Path cannot be empty in /www/wwwroot/listademae.com.br/wp-content/plugins/woocommerce/includes/wc-template-functions.php:52 Stack trace: #0 /www/wwwroot/listademae.com.br/wp-includes/class-wp-hook.php(324): wc_template_redirect() #1 /www/wwwroot/listademae.com.br/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #2 /www/wwwroot/listademae.com.br/wp-includes/plugin.php(517): WP_Hook->do_action() #3 /www/wwwroot/listademae.com.br/wp-includes/template-loader.php(13): do_action() #4 /www/wwwroot/listademae.com.br/wp-blog-header.php(19): require_once('...') #5 /www/wwwroot/listademae.com.br/index.php(17): require('...') #6 {main} thrown in /www/wwwroot/listademae.com.br/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 52
Há um erro crítico no seu site.
Saiba mais sobre a como resolver problemas do WordPress.
Uncaught ValueError: Path cannot be empty in /www/wwwroot/listademae.com.br/wp-content/plugins/woocommerce/includes/wc-template-functions.php:52
Stack trace:
#0 /www/wwwroot/listademae.com.br/wp-includes/class-wp-hook.php(324): wc_template_redirect()
#1 /www/wwwroot/listademae.com.br/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /www/wwwroot/listademae.com.br/wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /www/wwwroot/listademae.com.br/wp-includes/template-loader.php(13): do_action()
#4 /www/wwwroot/listademae.com.br/wp-blog-header.php(19): require_once('...')
#5 /www/wwwroot/listademae.com.br/index.php(17): require('...')
#6 {main}
thrown
Anyone who can help??
Prints of the errors are also below: