PHP errors not displaying
The problem was that PHP errors were not being displayed on a WordPress site, and instead, a generic „There has been a critical error„ message was shown. Despite enabling WP_DEBUG and setting display_errors to On, the detailed error messages were still not visible.
To resolve the issue, all plugins were temporarily deactivated. After reactivating all the plugins, PHP errors started to appear as expected. It is possible that one of the plugins was causing a conflict or interfering with the error display process. By deactivating and reactivating the plugins, the conflicting plugin‘s state and configuration were reset, resolving the issue and allowing PHP errors to be displayed properly.
Auto-update only to minor WP releases
Add to wp-config.php:
define('WP_AUTO_UPDATE_CORE', 'minor');
/* Alternative Settings */
define( 'AUTOMATIC_UPDATER_DISABLED', true );
define( 'WP_AUTO_UPDATE_CORE', false );
define( 'WP_AUTO_UPDATE_CORE', true );
/* Using Filters */
add_filter( 'automatic_updater_disabled', '__return_true' );
add_filter( 'auto_update_core', '__return_true' );
add_filter( 'auto_update_theme', '__return_true' );
add_filter( 'auto_update_plugin', '__return_true' );
add_filter( 'auto_update_translation', '__return_true' );
add_filter( 'allow_dev_auto_core_updates', '__return_false' );
add_filter( 'allow_minor_auto_core_updates', '__return_true' );
add_filter( 'allow_major_auto_core_updates', '__return_true' );
Unable to change page permalinks, even when there‘s no page or post of the same name in the database
Check for code that hides the page slug meta box (‘slugdiv‚). Removing it might solve the issue.