Fatal error: deactivate_plugins function doesn’t exist
-
This part in stag-blocks.php
function sgb_compatibility_check() {
if ( ! function_exists( ‘register_block_type’ ) ) {
deactivate_plugins( plugin_basename( __FILE__ ) );
add_action( ‘admin_notices’, ‘sgb_activation_notice’ );
return;
}
}causes the fatal error: deactivate_plugins function doesn’t exist.
Tested on local server.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fatal error: deactivate_plugins function doesn’t exist’ is closed to new replies.