Incompatibility with Side Cart Woocommerce (Ajax)
-
Hello,
We are running into a fatal error due to some kind of incompatibility between this plugin and one called “Side Cart Woocommerce (Ajax)” https://www.ads-software.com/plugins/side-cart-woocommerce/.
When you try to add a gift card to the cart, the site errors out and doesn’t look like it has done anything. However, the card does indeed get added to the cart.
Any help is appreciated. Here’s the error:
[Wed Apr 20 13:10:35.395526 2022] [php7:error] [pid 4690] [client 131.93.237.125:0] PHP Fatal error: Uncaught Error: Call to a member function set_price() on null in /nas/content/live/pahlsnew/wp-content/plugins/woopos-gift-cards-for-woocommerce/includes/features/price.php:247\nStack trace:\n#0 /nas/content/live/pahlsnew/wp-includes/class-wp-hook.php(307): WOOPOSGC_Custom_Price->wooposgc_add_custom_price(Object(WC_Cart))\n#1 /nas/content/live/pahlsnew/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)\n#2 /nas/content/live/pahlsnew/wp-includes/plugin.php(474): WP_Hook->do_action(Array)\n#3 /nas/content/live/pahlsnew/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1396): do_action('woocommerce_bef...', Object(WC_Cart))\n#4 /nas/content/live/pahlsnew/wp-content/plugins/side-cart-woocommerce/includes/class-xoo-wsc-cart.php(157): WC_Cart->calculate_totals()\n#5 /nas/content/live/pahlsnew/wp-includes/class-wp-hook.php(307): Xoo_Wsc_Cart->set_ajax_fragments(Array)\n#6 /nas/content/live/pahlsnew/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array)\n#7 /nas/content/live/pahlsnew/wp in /nas/content/live/pahlsnew/wp-content/plugins/woopos-gift-cards-for-woocommerce/includes/features/price.php on line 247, referer: https://www.pahls.com/shop/gift-card/
- The topic ‘Incompatibility with Side Cart Woocommerce (Ajax)’ is closed to new replies.