PHP Fatal error with $plugin->disable( ‘settings’ );
-
Hi,
When disabling Slim SEO settings page through:
add_action( 'slim_seo_init', function( $plugin ) { $plugin->disable( 'settings' ); } );based on the documentation, it raises a PHP Fatal error:
Fatal error: Uncaught Error: Call to a member function is_feature_active() on null in /var/www/html/wp-content/plugins/slim-seo/src/Plugin.php on line 66Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘PHP Fatal error with $plugin->disable( ‘settings’ );’ is closed to new replies.