Archived topic
Warnings / Fatal Error in php errorlog
3 replies · Started by Nico on September 19, 2022
Good morning Germany!
We found the following Warnings and Fatal Errors in our PHP ErrorLog this morning.
Do you have any idea what could have caused this?
thnx for helping
Nico
===
[19-Sep-2022 23:23:39 Europe/Berlin] PHP Warning: Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in /kunden/customer_id/webseiten/hello-world.net/wordpress/wp-includes/blocks/index.php on line 9
[19-Sep-2022 23:23:39 Europe/Berlin] PHP Warning: Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in /kunden/customer_id/webseiten/hello-world.net/wordpress/wp-includes/blocks/index.php on line 9
[19-Sep-2022 23:23:39 Europe/Berlin] PHP Warning: require(ABSPATHWPINC/blocks/archives.php): failed to open stream: No such file or directory in /kunden/customer_id/webseiten/hello-world.net/wordpress/wp-includes/blocks/index.php on line 9
[19-Sep-2022 23:23:39 Europe/Berlin] PHP Warning: require(ABSPATHWPINC/blocks/archives.php): failed to open stream: No such file or directory in /kunden/customer_id/webseiten/hello-world.net/wordpress/wp-includes/blocks/index.php on line 9
[19-Sep-2022 23:23:39 Europe/Berlin] PHP Fatal error: require(): Failed opening required 'ABSPATHWPINC/blocks/archives.php' (include_path='.:/usr/share/pear:/usr/share/php') in /kunden/customer_id/webseiten/hello-world.net/wordpress/wp-includes/blocks/index.php on line 9
Hi Nico,
This seems to be an issue with WordPress itself. I found a thread in WordPress forums with a similar issue: https://wordpress.org/support/topic/php-errors-related-to-blocks/
Perhaps you can try #1 here just to check if a plugin is causing this: https://docs.generatepress.com/article/debugging-tips/
If not, it would be good to raise the issue in the WordPress forums as well.
thank you Fernando. that will help us further.
best regards
Nico
You're welcome Nico!