Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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.”

    #1281492

    Hey richardhofer83,

    Can you please check the server log for error?

    Best regards,
    Victoria

    #1281673

    hi 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?

    #1281685

    i 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.php

    also: i dont know what they mean and if the are in connection with the critial error issue.
    greetings richard

    #1281785

    Hi 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,
    Victoria

    #1281830

    hi victoria, ok thanks.
    what about the other errors in the post above?

    #1282015

    i think i solved it: i updated to wordpress 5.5.3 + Enfold 4.7.6.4 + PHP 7.4.

    No critical errors any more :)

    #1282177

    Hi,

    Great, I’m glad that you got things working again, and thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.