WooCommerce Multivendor Membership conflict
-
“Awesome Support” plugin causes pictures not to load on webpage. It is conflicting with this plugin by Wclovers.com “WooCommerce Multivendor Membership”.
Is there a way to fix this?
Error message I get.
[26-Feb-2019 03:59:02 UTC] PHP Warning: session_start(): Cannot start session when headers already sent in /home/happy4boyz2/public_html/wp-content/plugins/wc-multivendor-membership/core/class-wcfmvm.php on line 62Code before and after line 62:
public function __construct($file) {
$this->file = $file;
$this->plugin_base_name = plugin_basename( $file );
$this->plugin_url = trailingslashit(plugins_url(”, $plugin = $file));
$this->plugin_path = trailingslashit(dirname($file));
$this->token = WCFMvm_TOKEN;
$this->text_domain = WCFMvm_TEXT_DOMAIN;
$this->version = WCFMvm_VERSION;// Installer Hook
add_action( ‘init’, array( &$this, ‘run_wcfmvm_installer’ ) );add_action( ‘wcfm_init’, array( &$this, ‘init_wcfmvm’ ), 12 );
add_action( ‘wcfmvm_membership_scheduler’, array( $this, ‘wcfmvm_membership_scheduler_check’ ) );
add_filter( ‘wcfm_modules’, array( &$this, ‘get_wcfmvm_modules’ ) );
}/**
* initilize plugin on WCFM init
*/
function init_wcfmvm() {
global $WCFM, $WCFMvm;Line #62 if( !session_id() ) session_start();
// Register Vendor Membership Post Type
register_post_type( ‘wcfm_memberships’, array( ‘public’ => false ) );// Init Text Domain
$this->load_plugin_textdomain();if(!WCFMvm_Dependencies::woocommerce_plugin_active_check()) {
add_action( ‘admin_notices’, ‘wcfmvm_woocommerce_inactive_notice’ );
return;
}if(!WCFMvm_Dependencies::wcfm_plugin_active_check()) {
add_action( ‘admin_notices’, ‘wcfmvm_wcfm_inactive_notice’ );
return;
}
- The topic ‘WooCommerce Multivendor Membership conflict’ is closed to new replies.