MultivendorX
-
AuthorPosts
-
-
November 6, 2023 at 9:57 AM #203593l.ganParticipant
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
Attachments:
-
November 6, 2023 at 12:59 PM #204013Sangita Support SquadKeymaster
@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.
-
November 6, 2023 at 5:51 PM #204031l.ganParticipant
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
-
November 6, 2023 at 6:26 PM #204036Sangita Support SquadKeymasterThis reply has been marked as private.
-
November 7, 2023 at 6:04 PM #204054promitaKeymaster
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; }
CopyYou 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.
-
November 8, 2023 at 1:09 AM #204064l.ganParticipant
Hello, thanks for your response. I created a topic in support of the Performance plugin, but received a response that they do not use the hook you are referring to.
Please could you check this
Thanks for reaching out @loralora. I didn’t see any mention of the hook specifically used in the code you shard above, which was referenced in the support thread with MultiVendorX. Can you share an example of this and I’ll check this with the team?
Note also that what you’re encountering seems to be a server constraint, which I suspect may also occur without the Performance Lab plugin active. The plugin doesn’t utilize the wp_get_current_user function other than running a Health Check request.
You may also wish to share your Site Health information here if you wish to share your server settings.
-
November 14, 2023 at 9:26 AM #204059l.ganParticipant
Thank you for your quick response and finding the problem,
I created 2 topics in plugin support. with which the problem arises, and shared a link to that topic.I hope everything works out.
Tell me, I still don’t understand, do all 3 plugins create a conflict among themselves? those. should any of the 2 plugins make changes? Or is only 1 enough?https://wordpress.org/support/topic/conflict-with-other-plugins-out-of-memory-due-to-product-draft/
https://wordpress.org/support/topic/plugin-multivendor-x-is-a-problem/#post-17181015
-
-
November 9, 2023 at 11:58 AM #204123NerdySupportExpert MoumitaKeymasterThis reply has been marked as private.
-
November 11, 2023 at 4:30 PM #204239Sangita Support SquadKeymaster
Glad to hear that your issue is fixed. Also not to worry, we will add the fix in our next update.
-
November 14, 2023 at 12:33 PM #204321Sangita Support SquadKeymaster
We have released an update with the fix. Kindly update the plugin to its latest version and check.
-
November 15, 2023 at 4:29 PM #204375Sangita Support SquadKeymaster
Thanks for the update @l.gan
We are closing this thread.
-
-
AuthorPosts
The topic ‘Conflict with other plugins’ is closed to new replies.