critical error for staging sites

[ad_1]

Hi @nickfarelli
You need to enable WP_DEBUG mode on the staging site itself, not the live site, and check the generated debug.log file at the staging site’s directory (/1691578595281/wp-content/).

Check this guide to learn more about enabling WP_DEBUG mode:
https://wp-staging.com/docs/enable-wordpress-debug-log-mode/

Thanks,
Alaa

Thank you! Now it shows this for the staging site:

[11-Aug-2023 16:34:46 UTC] PHP Warning: require(/html/1691578595281/wp-includes/html-api/class-wp-html-attribute-token.php): failed to open stream: No such file or directory in /html/1691578595281/wp-settings.php on line 238
[11-Aug-2023 16:34:46 UTC] PHP Fatal error: require(): Failed opening required ‘/html/1691578595281/wp-includes/html-api/class-wp-html-attribute-token.php’ (include_path=’.:/opt/php/7.4/lib/php’) in /html/1691578595281/wp-settings.php on line 238
[11-Aug-2023 16:34:46 UTC] PHP Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /html/1691578595281/wp-includes/functions.php on line 5905
[11-Aug-2023 16:34:46 UTC] PHP Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /html/1691578595281/wp-includes/functions.php on line 5905
[11-Aug-2023 16:34:49 UTC] PHP Warning: require(/html/1691578595281/wp-includes/html-api/class-wp-html-attribute-token.php): failed to open stream: No such file or directory in /html/1691578595281/wp-settings.php on line 238
[11-Aug-2023 16:34:49 UTC] PHP Fatal error: require(): Failed opening required ‘/html/1691578595281/wp-includes/html-api/class-wp-html-attribute-token.php’ (include_path=’.:/opt/php/7.4/lib/php’) in /html/1691578595281/wp-settings.php on line 238
[11-Aug-2023 16:34:49 UTC] PHP Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /html/1691578595281/wp-includes/functions.php on line 5905
[11-Aug-2023 16:34:49 UTC] PHP Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /html/1691578595281/wp-includes/functions.php on line 5905

Thanks for providing the logs.

Please ensure with your hosting provider that you have enough free disk space on your server (something like 2-3X of your site’s size is enough).

And try creating a new staging site, if you encountered the same issue again, please send us your site’s system information from (WP STAGING > System Info) via this form and we will help you further from there.

Thanks,
Alaa

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer