• Hello,

    thanks for the great plugin.
    When activating the plugin together with the multivendor plugin Multivendor X (https://ww.wp.xz.cn/plugins/dc-woocommerce-multi-vendor/), the latter loses the ability to add a new product, action on the link http://site.com/dashboard/edit-product/. It freezes and then gives an error 500.

    /dashboard/ – control panel for the vendor.

    Even activating your plugin leads to this. Tried different settings for your plugin, but nothing happens. The error log is empty. There are no errors in the developer panel.

    help me please

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter N.g

    (@loralora)

    This has been tested on two domains, the problem remains.

    Thread Starter N.g

    (@loralora)

    When three plugins are enabled at once:
    MultiVendorX
    Permalink Manager for WooCommerce (https://ww.wp.xz.cn/plugins/permalink-manager-for-woocommerce/)
    Performance Lab(https://ww.wp.xz.cn/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.

    I contacted the multivendor plugin, here is the link to the topic: https://multivendorx.com/support-forum/topic/conflict-with-other-plugins/

    and the crux of the problem is this:

    MultiVendorX:

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

    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.

    Please tell me, can you help me with this and resolve the conflict?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin + Multivendor X is a problem’ is closed to new replies.