Cocart session handler broke woocommerce sessions
-
Hi,
I have Cocart v3.4.1 with Woocommerce 5.6, WCFM Ultimate, WCFMMP Membership plugins.
When I am trying to register a vendor then I am getting “Email verification code invalid” error (even if I am entering correct code received in email). But, when I have added an item in my cart then I don’t get this error and vendor registration completed successfully.
After debugging I found that the error is generated due to following file (Line #163), apparently the variable “$verification_code” always remains empty and hence fails this. FILE: wp-content/plugins/wc-multivendor-membership/controllers/wcfmvm-controller-memberships-registration.php
The code getting failed is at line #158 ——> ” if( WC()->session && WC()->session->get( ‘wcfm_membership_email_verification_code’ ) ) ”
I also checked a thread (at: https://www.ads-software.com/support/topic/not-compatible-with-custom-woocommerce-session-handlers/) which seems to explain incompatibility of your plugin with WC sessions.
To verify this when I deactivated the CoCart plugin then the vendor registration process worked successfully.
You are requested to provide a patch in order to address this issue as it has broken the main feature of vendor registration of my site.
Thanks.
The page I need help with: [log in to see the link]
- The topic ‘Cocart session handler broke woocommerce sessions’ is closed to new replies.