Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards!

WCMp Vendor Membership v2.1 : Fatal error

WCMp Vendor Membership

Resolved
Viewing 11 reply threads
  • Author
    Posts
    • #117264
      Brigitte G.
      Participant

      As you can see in this message, I have fatal error with new update 2.1 of Vendor Membership.

      Une erreur de type E_ERROR a été causée dans la ligne 25 du fichier /home/XXXXXXX/public_html/wp-content/plugins/wcmp-vendor_membership/classes/class-wcmp-vendor-membership-posttype.php. Message d’erreur : Uncaught Error: Call to a member function get_cart() on null in /home/XXXXXXX/public_html/wp-content/plugins/wcmp-vendor_membership/classes/class-wcmp-vendor-membership-posttype.php:25
      Stack trace:
      #0 /home/XXXXXXX/public_html/wp-includes/class-wp-hook.php(287): WCMP_Vendor_Membership_Posttype->woocommerce_avalable_gateway_for_subscription(Array)
      #1 /home/XXXXXXX/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters(Array, Array)
      #2 /home/XXXXXXX/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(160): apply_filters(‘woocommerce_ava…’, Array)
      #3 /home/XXXXXXX/public_html/wp-content/plugins/woocommerce/includes/wc-account-functions.php(118): WC_Payment_Gateways->get_available_payment_gateways()
      #4 /home/XXXXXXX/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(309): wc_get_account_menu_items()
      #5 /home/XXXXXXX/public_html/wp-admin/includes/template.php(1516): WC_Admin_Menus->nav_menu_links(NULL, Array)
      #6 /home/XXXXXXX/public_html/wp-a

      Please can you say me if it’s serious for my database ? Should I restore my live production website ?

      Thank you.

    • #117266
      Brigitte G.
      Participant
      This reply has been marked as private.
    • #117267
      Brigitte G.
      Participant
      This reply has been marked as private.
    • #117286
      This reply has been marked as private.
    • #117301
      Brigitte G.
      Participant

      Good morning Moumita 😊

      I’m sorry, I forgot to say you, for recreate this issue, I just updated Vendor Membership to v2.1, then you need to go to classic menu page: https://domain.com/wp-admin/nav-menus.php

      The menus no longer appear, and give way to the fatal error mentioned above. Can you reproduce the error this way? If you still can’t do it, I’ll try to reproduce the error on a staging site.

      Thank you very much for your help Moumita.

      Best Regards.

    • #117305

      @pSyalvia, thanks for the help. We are working on the fix.

      I will share the fix as soon as possible.

    • #117307
      Brigitte G.
      Participant

      With pleasure Raju and thank you for your responsiveness.

    • #117313
      This reply has been marked as private.
    • #117306
      Brigitte G.
      Participant
      This reply has been marked as private.
    • #117358

      Kindly install the shared plugin to your site and let us know if you face any further issue.

    • #117359
      Brigitte G.
      Participant

      Hi Ninja, sorry my last message was for another topic… mistake, sorry for that!

      Thank you very much Raju for the fixed version, working well!!

    • #117363

      Thank you, based on your confirmation we are marking this thread closed.

Viewing 11 reply threads

The topic ‘WCMp Vendor Membership v2.1 : Fatal error’ is closed to new replies.