• Hi,

    My WordPress website is broken. When surfing to the website, a notification appears: “There has been a critical error on this website. Please check your site admin email inbox for instructions.”

    I suspect this error occurred following an update of the website Theme.

    However, I’m no longer able to log in via the /wp-admin route. So how can I get back access to my WordPress dashboard in order to be able to investigate and remedy the problem?

    As far as I’m aware, I didn’t receive any email from WordPress regarding the website bug, as suggested in the error notification.

    Thanks.

    Best regards,

    Maxime

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Maxime,
    Please enable the WordPress debug log. This will allow us to see if any PHP errors are being produced.

    1. Edit wp-config.php via File Manager or FTP client and insert the following lines:


    define( 'WP_DEBUG', true);
    define( 'WP_DEBUG_LOG', true);
    define( 'WP_DEBUG_DISPLAY', false);

    2. Reload the home page.
    3. Locate the debug log in: /wp-content/debug.log
    4. Paste the latest lines here. No need to paste the entire log file. Just 20 lines or so will do. Please censor any sensitive information.

    https://codex.wordpress.org/Debugging_in_WordPress

    lisa

    (@contentiskey)

    if you need to deactivate the theme, it is possible to do that in the file manager area of your webhosting plan. rename the folder for the theme that needs to be deactivated. if you have one of the WordPress default themes installed, it will be activated instead. if a theme update is causing the error, then deactivating the theme could allow you to get into the WP-Admin area to do further troubleshooting.

    I am having the same problem is the fist person. Getting (There has been a critical error on this website. Please check your site admin email inbox for instructions.) after March 29 update of 6.2. Cannot sign into dashboard or access web page. Log is :

    [03-Apr-2023 17:11:15 UTC] PHP Fatal error: Out of memory (allocated 212336640) (tried to allocate 4096 bytes) in /hermes/bosnacweb04/bosnacweb04/bosnacweb04bc/b2316/ipg.usscorvinabaseus/wp-includes/class-wp-dependencies.php on line 260
    [03-Apr-2023 17:11:42 UTC] PHP Fatal error: Out of memory (allocated 212336640) (tried to allocate 8192 bytes) in /hermes/bosnacweb04/bosnacweb04/bosnacweb04bc/b2316/ipg.usscorvinabaseus/wp-includes/class-wp-dependencies.php on line 260

    Hope tis right as I was handed this and know nothing about WP.

    Thank you

    Try to increase your PHP memory limit setting at php.ini file.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘There has been a critical error on this website’ is closed to new replies.