-
AuthorPosts
-
February 16, 2021 at 11:28 am #1281296
Hello!
Since a couple of days i get this “There has been a critical Error on Your website” Message when i open my website or click a link on the site.
sometimes it works, sometimes it doesnt.
I have PHP 7.3
what do you think it can be? What should i do to find the problem? Thank you!
Error Message (german)
“Es gab einen kritischen Fehler auf deiner Website.Erfahre mehr über die Fehlerbehebung in WordPress.”
- This topic was modified 3 years, 10 months ago by richardhofer83.
February 16, 2021 at 7:47 pm #1281492Hey richardhofer83,
Can you please check the server log for error?
Best regards,
VictoriaFebruary 17, 2021 at 12:25 pm #1281673hi victoria,
i activted the debug command in the wp-config.php but there is no log created, even after recreated the error multiple times.define ('WP_DEBUG', true); define ('WP_DEBUG_LOG', true); define ('WP_DEBUG_DISPLAY', false);
this the php error log from my provider. today it says:
[17-Feb-2021 09:37:36 UTC] PHP Notice: Undefined offset: 0 in /data/web/xxxx/html/apps/wordpress-36133/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/google_maps/google_maps.php on line 734
yesterday there were also these errors, but they dont show up today (i think fixed them by upgrading the plugin and restoring the original footer)
[16-Feb-2021 09:49:18 UTC] PHP Notice: Undefined variable: kriesi_at_backlink in /data/web/xxxx/html/apps/wordpress-36133/wp-content/themes/enfold/footer.php on line 221 [16-Feb-2021 09:49:22 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /data/web/xxxx/html/apps/wordpress-36133/wp-content/plugins/data-tables-generator-by-supsystic/vendor/Twig/Extension/Core.php on line 1275
because i had that error with the footer i also tried to edit the footer.php in the wordpress backend. i got this error:
Deine PHP-Code-Änderungen wurden aufgrund eines Fehlers in Zeile 2024 der Datei wp-includes/wp-db.php zurückgesetzt. Bitte beheben und versuchen, erneut zu speichern. Allowed memory size of 268435456 bytes exhausted (tried to allocate 26008817 bytes)
i dont know if all thats connected or just little problems on their own…
Should i just update wodpress and enfold or is it not a good idea at the moment?
February 17, 2021 at 12:51 pm #1281685i also found an error log, here some excerpts:
[Mon Feb 15 03:29:38.] [autoindex:error] AH01276: Cannot serve directory /data/web/xxx/html/apps/wordpress-36133/wp-content/themes/enfold/framework/: No matching DirectoryIndex (index.php,index.html,index.htm,awsindex.html,index.xhtml) found, and server-generated directory index forbidden by Options directive
[Wed Feb 10 11:23] [access_compat:error] AH01797: client denied by server configuration: /data/web/xxx/html/apps/wordpress-36133/wp-includes/css/css.php
[Wed Feb 10 11:24] [access_compat:error] AH01797: client denied by server configuration: /data/web/xxx/html/apps/wordpress-36133/wp-includes/fonts/css.phpalso: i dont know what they mean and if the are in connection with the critial error issue.
greetings richardFebruary 17, 2021 at 4:29 pm #1281785Hi richardhofer83,
This is the server configuration issue, it’s not coming from the theme.
Please have a look here:
https://wordpress.org/support/topic/cannot-serve-directory-home-public_html-wp-content-uploads-no-matchi/Best regards,
VictoriaFebruary 17, 2021 at 5:36 pm #1281830hi victoria, ok thanks.
what about the other errors in the post above?February 18, 2021 at 4:13 pm #1282015i think i solved it: i updated to wordpress 5.5.3 + Enfold 4.7.6.4 + PHP 7.4.
No critical errors any more :)
February 19, 2021 at 10:43 am #1282177 -
AuthorPosts
- You must be logged in to reply to this topic.