Diwali

Wishing you joy this Diwali and Halloween! Enjoy up to 20% OFF on all addons!

Claim Offer
01Day 04Hr 43Min 09Sec
Diwali

Plugin Conflict with "Awesome Support"

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 10 reply threads
  • Author
    Posts
    • #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 62

      Code 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;
      }

    • #50203
      WCFM Forum
      Member

      HI,

      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

    • #50270
      luke.casillas
      Participant

      Those files don’t exist after wp-admin. Where else would I find these files?

    • #50343
      WCFM Forum
      Member

      Hi,

      Do you have any logs at wp-admin -> WooCommerce -> Status -> Logs

      Thank You

    • #50477
      luke.casillas
      Participant

      Here is the wp-admin file. I don’t see anything in there that shows a log.

    • #50487
      WCFM Forum
      Member

      Hi,

      You have to check here – https://imgur.com/a/zWeGHBV

      Nothing there in wp-admin folder!

      Thank You

    • #50759
      luke.casillas
      Participant

      Ok, 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

    • #50760
      WCFM Forum
      Member

      But this error is quite old, from 26 th February log.

      is there any error log file for more recent days?

      Thank you

    • #50874
      luke.casillas
      Participant

      Ok, 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.

    • #50875
      luke.casillas
      Participant

      and last log was from the 26th. I hadn’t activated the plugin since then until yesterday.

    • #50920
      WCFM Forum
      Member

      OK, please know me.

Viewing 10 reply threads
  • The topic ‘Plugin Conflict with "Awesome Support"’ is closed to new replies.