Best Multi Vendor Marketplace Plugin for WordPress › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Plugin Conflict with "Awesome Support"
- This topic has 10 replies, 2 voices, and was last updated 7 years, 8 months ago by
WCFM Forum.
- AuthorPosts
- February 26, 2019 at 4:41 pm #50201
luke.casillas
Participant“Awesome Support” plugin causes pictures not to load on webpage when activated. It is conflicting with this plugin “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;
} - February 26, 2019 at 4:43 pm #50203
WCFM Forum
MemberHI,
Well, “session_start()” is a PHP core function.
Now, if it’s not working that means your site has some other PHP error.
Please check at wp-admin -> WooCommerce -> Status -> Logs -> fatal_erros log -> is any error generated?
Thank You
- February 27, 2019 at 1:19 am #50270
luke.casillas
ParticipantThose files don’t exist after wp-admin. Where else would I find these files?
- February 27, 2019 at 10:55 am #50343
WCFM Forum
MemberHi,
Do you have any logs at wp-admin -> WooCommerce -> Status -> Logs
Thank You
- February 28, 2019 at 12:03 am #50477
luke.casillas
ParticipantHere is the wp-admin file. I don’t see anything in there that shows a log.
- February 28, 2019 at 4:48 am #50487
WCFM Forum
Member - March 1, 2019 at 2:19 pm #50759
luke.casillas
ParticipantOk, got what you needed now. here is the error message
2019-02-26T03:58:08+00:00 CRITICAL Cannot redeclare WPAS() (previously declared in /home/happy4boyz2/public_html/wp-content/plugins/awesome-support/awesome-support.php:688) in /home/happy4boyz2/public_html/wp-content/plugins/awesome-supportB/awesome-support.php on line 689
- March 1, 2019 at 2:24 pm #50760
WCFM Forum
MemberBut this error is quite old, from 26 th February log.
is there any error log file for more recent days?
Thank you
- March 2, 2019 at 6:12 pm #50874
luke.casillas
ParticipantOk, I don’t know how but it is working now. It worked at first then did the same thing for about 1 minute then worked just fine again. No errors logged. I will test it more to see if it does it again.
- March 2, 2019 at 6:13 pm #50875
luke.casillas
Participantand last log was from the 26th. I hadn’t activated the plugin since then until yesterday.
- March 3, 2019 at 7:02 am #50920
WCFM Forum
MemberOK, please know me.
- AuthorPosts
- The topic ‘Plugin Conflict with "Awesome Support"’ is closed to new replies.

