Support » Plugin: Stag Blocks » Fatal error: deactivate_plugins function doesn’t exist

  • Resolved themeous

    (@themeous)


    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.

    • This topic was modified 2 years, 4 months ago by themeous.
Viewing 1 replies (of 1 total)
  • Plugin Author Ram Ratan Maurya

    (@mauryaratan)

    Hi there,

    Sorry about the issue, I messed it up in the last release. Should be all good now 🙂

    Thanks for letting us know!

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error: deactivate_plugins function doesn’t exist’ is closed to new replies.