Fatal error: Uncaught Error: Call to a member function get_type() on bool in /var/www/wp-content/plugins/wcmp-vendor_membership/classes/class-wcmp-vendor-membership-frontend.php:124 Stack trace: #0 /var/www/wp-includes/class-wp-hook.php(309): WCMP_Vendor_Membership_Frontend->add_to_cart_redirect('https://pachaba...') #1 /var/www/wp-includes/plugin.php(189): WP_Hook->apply_filters('https://pachaba...', Array) #2 /var/www/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php(562): apply_filters('woocommerce_add...', 'https://pachaba...', NULL) #3 /var/www/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php(449): WC_Frontend_Scripts::get_script_data('wc-add-to-cart') #4 /var/www/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php(616): WC_Frontend_Scripts::localize_script('wc-add-to-cart') #5 /var/www/wp-includes/class-wp-hook.php(307): WC_Frontend_Scripts::localize_printed_scripts('') #6 /var/www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #7 /var in /var/www/wp-content/plugins/wcmp-vendor_membership/classes/class-wcmp-vendor-membership-frontend.php on line 124