• Resolved caracterrecom

    (@caracterrecom)


    Hi,

    I have a critical error with elementor sections that have a dynamic display conditions based on WooCommerce Memberships plan (section only visible to an active plan)

    thanks for your help

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    What’s the error?

    Thread Starter caracterrecom

    (@caracterrecom)

    Fatal error: Uncaught Error: Call to a member function get_slug() on bool in /*******/plugins/woocommerce-memberships/src/integrations/Elementor_Builder.php:595

    Thread Starter caracterrecom

    (@caracterrecom)

    and after that : Elementor_Builder->get_logged_in_user_active_memberships_plans()?

    I can send you all the PHP error in a private link

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Thanks. This doesn’t seem to be related to User Switching. Have you tested this by manually logging in as another user?

    Thread Starter caracterrecom

    (@caracterrecom)

    This only happens when you are logged in with another user’s account. With a manual connection as another user (with login et password), there is no this problem. This is why I contacted you.

    Elementor checks the status of the memberships plan to display the section or not, and with the user switching, this causes this error because it seems that it cannot check the memberships status.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Critical Error with Elementor’ is closed to new replies.