Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home2/cargocap/mrbuilders.pk/wp-includes/widgets/upgrade/index.php on line 148

Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home2/cargocap/mrbuilders.pk/wp-includes/widgets/upgrade/index.php on line 266

Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home2/cargocap/mrbuilders.pk/wp-includes/widgets/upgrade/index.php on line 274
fg
/home2/cargocap/public_html/wp-content/plugins/gutenify/core/inc/class-activation.php
<?php

class Gutenify_Activation {
	public function __contruction() {
		// register_activation_hook( __FILE__, array( __CLASS__, 'cyb_activation' ) );
		add_action( 'activated_plugin', array( __CLASS__, 'cyb_activation' ) );
	}

	public static function cyb_activation( $plugin ) {
		if( $plugin == plugin_basename( GUTENIFY_FILE ) ) {
			exit( wp_redirect( admin_url( 'options-general.php?page=myplugin_settings' ) ) );
		}
	}
}

new Gutenify_Activation();