If the Gutenberg editor is not working correctly on WordPress hosted on Azure App Services, here are a few troubleshooting steps you can try:
- Check PHP and Memory Limits
- Ensure your App Service is running a compatible PHP version (preferably PHP 8.0 or later).
- Increase memory limits in
wp-config.php
by adding:
define('WP_MEMORY_LIMIT', '256M');
- Disable Conflicting Plugins
- Some plugins, especially those modifying the editor, may conflict with Gutenberg. Temporarily disable all plugins and check if the issue persists.
- Switch to a Default Theme
- Try switching to a default theme like Twenty Twenty-Four to rule out theme-related issues.
- Check Browser Console for Errors
- Open the browser’s developer console (
F12
> Console) and check for JavaScript errors. If you see errors related to REST API or blocked scripts, they might be causing the problem.
- Verify REST API and Permalink Settings
- Gutenberg relies on REST API. Go to Tools > Site Health and see if any REST API issues are reported.
- Try resetting permalinks under Settings > Permalinks by switching to Plain and then back to your preferred structure.
- Consider Using Elementor as an Alternative
If you continue facing issues, you might want to try Elementor, a powerful visual editor that works independently of Gutenberg and can provide a seamless editing experience.
- Check Server Logs and Debug Mode
- Enable debug mode by adding this to
wp-config.php
:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
- Then, check the
wp-content/debug.log
file for errors.
These steps should help you identify and fix the issue with Gutenberg and Elementor as well on WordPress App Services. If the problem persists, checking with your hosting provider’s support team might be necessary.