Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1345763

    Hi,

    For a few days now, an error message appears when I go to my website:

    There has been a critical error on this website.

    or

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    But I can’t find any instructions.

    The message does not appear every time – only about every other time. And it disappears when I refresh the page.

    My website is running the latest versions:
    WordPress 5.9.2
    Enfold 4.9.2

    Please find a temporary login to my website in the private content area.

    Could you please take a look at my website to find out the problem?

    Many thanks in advance

    zizibe1

    #1345786

    Hey zizibe1,

    Thank you for the inquiry.

    We may need to set the installation to debug mode and enable the error logs in order to find the issue. Please add this code in the wp-config.php file to enable debugging.

    // Enable WP_DEBUG mode
    define( 'WP_DEBUG', true );
    
    // Enable Debug logging to the /wp-content/debug.log file
    define( 'WP_DEBUG_LOG', true );
    
    // Disable display of errors and warnings
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );
    
    // Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
    define( 'SCRIPT_DEBUG', true );
    

    We will check the thread again once the debug mode is enabled.

    Best regards,
    Ismael

    #1345898

    Hi Ismael,

    Thanks for your reply.

    I opened FileZilla, went to wordpress > wp-config.php and added the code as follows:

    /**
     * For developers: WordPress debugging mode.
     *
     * Change this to true to enable the display of notices during development.
     * It is strongly recommended that plugin and theme developers use WP_DEBUG
     * in their development environments.
     */
    define('WP_DEBUG', false);
    define('FORCE_SSL_ADMIN', true);
    
    // Enable WP_DEBUG mode
    define( 'WP_DEBUG', true );
    
    // Enable Debug logging to the /wp-content/debug.log file
    define( 'WP_DEBUG_LOG', true );
    
    // Disable display of errors and warnings
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );
    
    // Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
    define( 'SCRIPT_DEBUG', true );
    
    /* That's all, stop editing! Happy blogging. */

    What shall I do now?

    Best regards

    zizibe1

    #1346025

    Hi,

    Thanks for the update. I see the same problem when I try to login to your site, but it works the second time for some reason. I can’t see any error messages, the second time, so it’s difficult to know what is causing it the first time unfortunately. Do you have server logs which you could share with us? Also, does it make any difference if you deactivate all plugins? You could also try to activate the parent theme, in order to check if the problem is coming from the child.

    Best regards,
    Rikard

    #1346230

    Hi Rikard,

    Thanks for your reply.

    In the wp-config.php file, I enabled debugging:

    define( ‘WP_DEBUG’, true );

    Then I opened FileZilla, went to wordpress > wp-content and downloaded the debug.log file, which mentions several errors concerning the SVG Support plugin and “allowed memory size of bytes exhausted”.

    So I deactivated the SVG Support plugin.

    And I added the following code (highlighted in bold) to the wp-config.php file to increase the memory limit:

    […]
    * @package WordPress
    */

    define(‘WP_MEMORY_LIMIT’, ‘512M’);
    define(‘WP_MAX_MEMORY_LIMIT’, ‘512M’);

    /** MySQL Einstellungen […]

    But the problem still consists.

    Please find a download-link of the debug.log file in the private content area.

    Best regards,

    zizibe1

    #1346252

    Hi,

    Thank you for the info.

    We may need to access the file server in order to debug the issue properly. Please update the theme to version 4.9.1, then post the FTP details in the private field so that we can check the files.

    Best regards,
    Ismael

    #1346453

    Hi Ismael,

    Thanks for your reply.

    I contacted the host of my website. He allocated more memory to my account. Now my page loads reliable again and the problem could be solved.

    I have one more question: Does Enfold support SVG now or do I still need the SVG Support plugin?

    Best regards,

    zizibe1

    #1346497

    Hi zizibe1,

    We’re glad to hear that :)
    As for SVG, you will still need to use a plugin to have SVG support since WordPress does not natively enable it.
    Thanks again for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘There has been a critical error on this website’ is closed to new replies.