• Resolved marcuspalle

    (@marcuspalle)


    When i login to my staging site i get a message saying ”A critical error has occurred on the website.”

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter marcuspalle

    (@marcuspalle)

    Someone can help?

    Plugin Author Rene Hermenau

    (@renehermi)

    Can you please activate the debug.log of the staging site and try login again? There should be something written in the logs. How to activate the WordPress debug.log

    After that you can post here the log file and we will help you further.

    Thread Starter marcuspalle

    (@marcuspalle)

    How do i log in to cpanel?

    Plugin Contributor alaasalama

    (@alaasalama)

    Hi @marcuspalle,

    I believe you’re asking how to access the WordPress Dashboard of the staging site in order to enable WP_DEBUG mode. Just to clarify, WP_DEBUG doesn’t require Dashboard access—it can be enabled directly by editing the wp-config.php file of the staging site.

    You can do this in one of two ways:

    1. Via FTP – Connect to your server with an FTP client, open the wp-config.php file of the staging site, and add the necessary WP_DEBUG lines.
    2. Via a File Manager plugin – If FTP isn’t convenient, log in to your live site’s WordPress Dashboard, install a file manager plugin there, and then use it to edit the staging site’s wp-config.php file.

    Then you can enable WP_DEBUG mode by following this guide:

    Enable WordPress Debug Log Mode

    Thanks,
    Alaa

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

The topic ‘critical error’ is closed to new replies.