“automatically deactivated”
-
Hi there,
I have a four snippets that are being automatically deactivated, but I can’t work out why.
I’m seeing a lot of these in my error log:
Attempt to read property “post_type” on null
And I’m wondering if that might be the issue?
One of the snippets is the disable automatic updates, I have no idea why that would be automatically deactivated:
// Disable core auto-updates
add_filter( 'auto_update_core', '__return_false' );
// Disable auto-updates for plugins.
add_filter( 'auto_update_plugin', '__return_false' );
// Disable auto-updates for themes.
add_filter( 'auto_update_theme', '__return_false' );Any suggestions would be very much appreciated!
The topic ‘“automatically deactivated”’ is closed to new replies.