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.