PMPro Woocommerce add on crashes website
-
Hello,
We really love the PMPro pluginWe baught a plan but since we needed to use a VAT EU feature
on our store, and already had a plugin for that, and your VAT EU was not
functioning as the one we have, we decided to use payment with Woo.
And we installed the “Woocommerce integration plugin”
created a product and linked it to the membership we created.
We were also refunded by PMPro as we did not need the extra features.
For the recurring payments we were forced to use a subscription plugin.
We encountered many issues and crashes trying multiple plugins,
then we got a log with error messages indicating that our website crashes
due to the PMPRO Woo Integration addon.
I am attachig the message, and hopefully you will be able to help and advise what can we do or where the issue comes from exactly and how to solve it.
We really wish to continue using PMPro and not move to another plugin.
Please advise.this is the log:
Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in /home/mindfu19/public_html/wp-content/plugins/pmpro-woocommerce/pmpro-woocommerce.php:497 Additional context{ “error”: { “type”: 1, “file”: “/home/mindfu19/public_html/wp-content/plugins/pmpro-woocommerce/pmpro-woocommerce.php”, “line”: 497 }, “backtrace”: [ “”, “#0 /home/mindfu19/public_html/wp-content/plugins/pmpro-woocommerce/pmpro-woocommerce.php(497): array_keys(NULL)”, “#1 /home/mindfu19/public_html/wp-includes/class-wp-hook.php(324): pmprowoo_get_membership_price(’42’, Object(WC_Product_Variation))”, “#2 /home/mindfu19/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(’42’, Array)”, “#3 /home/mindfu19/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(884): apply_filters(‘woocommerce_pro…’, ’42’, Object(WC_Product_Variation))”, “#4 /home/mindfu19/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(282): WC_Data->get_prop(‘price’, ‘view’)”, “#5 /home/mindfu19/public_html/wp-content/plugins/woocommerce/includes/class-wc-product-variation.php(572): WC_Product->get_price()”, “#6 /home/mindfu19/public_html/wp-content/plugins/woocommerce/includes/class-wc-product-variation.php(550): WC_Product_Variation->variation_is_visible()”, “#7 /home/mindfu19/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-session.php(175): WC_Product_Variation->is_purchasable()”, “#8 /home/mindfu19/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(606): WC_Cart_Session->get_cart_from_session()”, “#9 /home/mindfu19/public_html/wp-content/plugins/woocommerce-subscriptions-pro/public/class-woocommerce-subscriptions-pro-public.php(1198): WC_Cart->get_cart()”, “#10 /home/mindfu19/public_html/wp-includes/class-wp-hook.php(324): Woocommerce_Subscriptions_Pro_Public->wps_wsp_enable_shipping_subscription(true)”, “#11 /home/mindfu19/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(true, Array)”, “#12 /home/mindfu19/public_html/wp-content/plugins/woocommerce/includes/wc-conditional-functions.php(355): apply_filters(‘wc_shipping_ena…’, true)”, “#13 /home/mindfu19/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1537): wc_shipping_enabled()”, “#14 /home/mindfu19/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-blocks/services.php(55): WC_Cart->needs_shipping()”, “#15 /home/mindfu19/public_html/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(117): WooCommerce\PayPalCommerce\Blocks\BlocksModule::WooCommerce\PayPalCommerce\Blocks\{closure}(Object(WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer))”, “#16 /home/mindfu19/public_html/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(56): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory(Object(Closure))”, “#17 /home/mindfu19/public_html/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CompositeContainer.php(53): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get(‘blocks.method’)”, “#18 /home/mindfu19/public_html/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php(61): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeContainer->get(‘blocks.method’)”, “#19 /home/mindfu19/public_html/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php(161): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}()”, “#20 /home/mindfu19/public_html/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php(128): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->invokeGenerator(Object(Closure))”, “#21 /home/mindfu19/public_html/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php(62): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->getCached(‘blocks.method’, Object(Closure))”, “#22 /home/mindfu19/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-blocks/src/BlocksModule.php(63): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->get(‘blocks.method’)”, “#23 /home/mindfu19/public_html/wp-includes/class-wp-hook.php(324): WooCommerce\PayPalCommerce\Blocks\BlocksModule->WooCommerce\PayPalCommerce\Blocks\{closure}(Object(Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry))”, “#24 /home/mindfu19/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)”, “#25 /home/mindfu19/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)”, “#26 /home/mindfu19/public_html/wp-content/plugins/woocommerce/src/Blocks/Integrations/IntegrationRegistry.php(50): do_action(‘woocommerce_blo…’, Object(Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry))”, “#27 /home/mindfu19/public_html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\Integrations\IntegrationRegistry->initialize(”)”, “#28 /home/mindfu19/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)”, “#29 /home/mindfu19/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)”, “#30 /home/mindfu19/public_html/wp-settings.php(700): do_action(‘init’)”, “#31 /home/mindfu19/public_html/wp-config.php(92): require_once(‘/home/mindfu19/…’)”, “#32 /home/mindfu19/public_html/wp-load.php(50): require_once(‘/home/mindfu19/…’)”, “#33 /home/mindfu19/public_html/wp-blog-header.php(13): require_once(‘/home/mindfu19/…’)”, “#34 /home/mindfu19/public_html/index.php(17): require(‘/home/mindfu19/…’)”, “#35 {main}”, “thrown” ] }
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.