Wordpress web app suddenly stopped working

Henrique Meyer 20 Reputation points
2025-03-05T21:45:51.3733333+00:00

The following error shows up when I try to access the Wordpress site in the web app:

"There has been a critical error on this website."

Everything was working fine and then it just stopped without anything changing.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,506 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bhargavi Naragani 2,010 Reputation points Microsoft External Staff
    2025-03-06T00:19:37.7433333+00:00

    Hi @Henrique Meyer,

    The critical error on your WordPress website typically occurs as a result of problems such as plugin conflicts, theme issues, or database connection problems.

    Check your logs, go to App Service -> Monitoring -> Logs (Log Stream) for error information.

    Enable WordPress Debugging, add these lines in your wp-config.php to view detailed errors:

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

    Verify Database Connection, make sure Azure PostgreSQL credentials in wp-config.php are accurate and the server is running.

    Disable Plugins and Themes. Rename the plugins directory or change to a default theme to see if problems exist. Restart your App Service and clear any caching plugins or Redis Cache.

    Refer to below links:
    https://learn.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs
    https://learn.wordpress.org/tutorial/debugging-in-wordpress/

    If the answer is helpful, please click Accept Answer and kindly upvote it so that other people who faces similar issue may get benefitted from it.

    Let me know if you have any further Queries.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.