Conflict with other plugins

MultivendorX

Resolved
Viewing 8 reply threads
  • Author
    Posts
    • #203593
      l.gan
      Participant

      Hello,
      thanks for your plugin. But unfortunately I encountered a conflict when I use your plugin along with two others. I recorded the video and can also provide you with access to the test site.

      When three plugins are enabled at once:
      MultiVendorX
      Permalink Manager for WooCommerce (https://wordpress.org/plugins/permalink-manager-for-woocommerce/)
      Performance Lab(https://wordpress.org/plugins/performance-lab/)
      The ability to add a new product and follow navigation links in the dashboard disappears.

      One at a time
      MultiVendorX and Permalink Manager for WooCommerce – no conflicts.
      MultiVendorX and Performance Lab – no conflicts.
      All three together are a conflict.

      Please watch the video.

      https://drive.google.com/file/d/1SP9bwoP2OxcS8akT48-m0Ag_GdpEVO0N/view?usp=sharing

    • #204013

      @l.gan Sorry to hear that you are facing an issue on your end.

      Kindly create a staging site that should be an exact replica of your live site and share the staging site url, temporary admin and ftp access with us.

      Also while sharing the access don’t forget to mark your reply as private.

      • #204030
        l.gan
        Participant
        This reply has been marked as private.
    • #204031
      l.gan
      Participant

      Explanation: If the user is on the dashboard/edit-product/ link, then it is impossible to get from there to the sections: (they are not clickable) Store Settings, Product Manager, Coupons, Stats / Reports

    • #204036
      This reply has been marked as private.
    • #204054
      promita
      Keymaster

      Hi @l.gan, We’ve thoroughly debugged the code and identified an issue. Our plugin puts the product on Auto Draft to prevent any accidental deletions when vendors forget to save the product. However, we’ve noticed a problem when running the query to put the product on Draft. Two other plugins are running their queries using the same hook, leading to memory exhaustion errors.

      Here’s the code snippet for creating the product draft on our end:

      private function create_product_draft( $post_type ) {
          $user = wp_get_current_user();
          $vendor = get_mvx_vendor( $user->ID );
          if ( $vendor && $vendor->id ) {
              $post_id = wp_insert_post( array( 'post_title' => __( 'Auto Draft', 'multivendorx' ), 'post_type' => $post_type, 'post_status' => 'auto-draft' ) );
              return get_post( $post_id );
          }
          return false;
      }
      Copy

      You can find the reference in our GitHub repository here: https://github.com/multivendorx/MultiVendorX/blob/main/classes/products/class-mvx-products-edit-product.php

      We kindly request that you contact the author of the conflicting plugin and inquire if they can investigate this issue to find a resolution. Thank you for your understanding.

    • #204123
      This reply has been marked as private.
      • #204235
        l.gan
        Participant

        Yes, everything is fine, thank you.

        Please tell me, will I need to add some code to the PHP function, or will you add it in a future update?

    • #204239

      Glad to hear that your issue is fixed. Also not to worry, we will add the fix in our next update.

    • #204321

      We have released an update with the fix. Kindly update the plugin to its latest version and check.

      • #204348
        l.gan
        Participant

        Yes everything is fine, thank you very much for your help

    • #204375

      Thanks for the update @l.gan
      We are closing this thread.

Viewing 8 reply threads

The topic ‘Conflict with other plugins’ is closed to new replies.