Hello David Carrick, Thanks for reaching out on Microsoft Q&A and really appreciate your patience while we reviewed the details.
The error message "There has been a critical error on this website" is a generic WordPress message. However, the container logs you provided offer a much clearer picture of the root cause, which is a server-level issue, not a typical WordPress plugin or theme conflict.
The key log entry is:
open() "/home/site/temp-root/hostingstart_xmlrpc.html" failed (2: No such file or directory)
This error shows that your Nginx server, running inside the container, is trying to serve a specific placeholder file (hostingstart_xmlrpc.html) for requests to /xmlrpc.php, but this file does not exist. This indicates a misconfiguration or a corruption in the container's file system or server configuration. A simple restart of the container often resolves such transient issues by forcing the system to re-initialize correctly.
Recommended Solution Steps
- Restart the Container
This is the fastest and most likely solution. Restarting the App Service will force the container to re-initialize its environment and services, which should fix the file pathing error.
- Go to the Azure Portal.
- Navigate to your App Service.
- On the Overview blade, click the Restart button at the top.
- Restore from a Backup
If a restart doesn't work, the most reliable next step is to restore your site from a recent, working backup. This will revert your site's files and database to a state before the error occurred.
- In the Azure Portal, navigate to your App Service.
- Select the Backups blade from the left-hand menu.
- Choose a recent backup and click Restore.
- Documentation: Restore an app in Azure App Service
- Use the Kudu Console for Advanced Debugging
The Kudu console is a powerful tool for inspecting your container's file system and running commands. You can use it to verify the integrity of your WordPress installation and check for missing files.
- In the Azure Portal, go to your App Service.
- Select Advanced Tools (Kudu) under the "Development Tools" section.
- Click Go to open the Kudu interface.
- Use the Debug Console to navigate to
/home/site/wwwroot/
and verify that the core WordPress files, includingxmlrpc.php
, are present.
- Documentation: Kudu service overview - Azure App Service
-Important Note on troubleshooting:
While general WordPress troubleshooting steps like disabling plugins, changing themes, and increasing PHP memory limits are good practices for generic "critical errors," they are unlikely to fix this specific issue. The log entries clearly point to a server-level file not found error (open() ... failed), which is a container configuration problem, not a PHP-level error from a conflicting plugin.
-Additional References & Documentation
- Debugging in WordPress
Disclaimer: This document is not maintained by Microsoft. It is being shared solely for your convenience. - Azure App Service - Diagnose and Solve Problems
- Kudu - Azure App Service Advanced Tools
- Azure App Service Linux - WordPress FAQ
- Azure App Service File System Layout
Let me know if this helps. Happy to assist further. Thank You!