Now instead of add_action( ‘admin_notices’, array( $this, ‘activate_license_notice’ ), 15 ); they put this:
add_action( ‘admin_notices’, function () {
$this->activate_license_notice();
}, 15 );
}
If I comment it out, my website crashes. How to get rid of it? Thanks