ajax add to cart is conflicting with Woocommerce multilingual
-
Hello,
I have used WMPL for the multi language, however the ajax add to cart is conflicting with woocommerce multilingual plugin. First time its pops up while adding product in cart, but after changing the language and again add the item in cart, it does not show popup.
I have enable debug mode. Please find the errors generated in the error log file.[12-Feb-2019 11:59:02 UTC] PHP Notice: Undefined variable: hidden in /home1/webdev/public_html/projects/g4/biokat/wp-content/themes/bs/template-parts/header/header-image.php on line 80
[12-Feb-2019 11:59:07 UTC] PHP Notice: Undefined index: 1a6727711b84fd1efbb87fc565199d13 in /home1/webdev/public_html/projects/g4/biokat/wp-content/plugins/added-to-cart-popup-woocommerce/templates/xoo-cp-content.php on line 12
[12-Feb-2019 11:59:07 UTC] PHP Fatal error: Uncaught Error: Call to a member function is_visible() on null in /home1/webdev/public_html/projects/g4/biokat/wp-content/plugins/added-to-cart-popup-woocommerce/templates/xoo-cp-content.php:19
Stack trace:
#0 /home1/webdev/public_html/projects/g4/biokat/wp-content/plugins/woocommerce/includes/wc-core-functions.php(211): include()
#1 /home1/webdev/public_html/projects/g4/biokat/wp-content/plugins/added-to-cart-popup-woocommerce/includes/class-xoo-cp-core.php(55): wc_get_template(‘xoo-cp-content….’, Array, ”, ‘/home1/webdev/p…’)
#2 /home1/webdev/public_html/projects/g4/biokat/wp-content/plugins/added-to-cart-popup-woocommerce/includes/class-xoo-cp-core.php(123): Xoo_CP_Core->get_cart_content()
#3 /home1/webdev/public_html/projects/g4/biokat/wp-includes/class-wp-hook.php(286): Xoo_CP_Core->set_ajax_fragments(Array)
#4 /home1/webdev/public_html/projects/g4/biokat/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
#5 /home1/webdev/public_html/projects/g4/biokat/wp-content/plugins/woocommerce/i in /home1/webdev/public_html/projects/g4/biokat/wp-content/plugins/added-to-cart-popup-woocommerce/templates/xoo-cp-content.php on line 19
[12-Feb-2019 11:59:15 UTC] PHP Warning: Illegal string offset ‘url’ in /home1/webdev/public_html/projects/g4/biokat/wp-content/themes/bs/template-parts/header/header-image.php on line 74
[12-Feb-2019 11:59:15 UTC] PHP Notice: Undefined variable: hidden in /home1/webdev/public_html/projects/g4/biokat/wp-content/themes/bs/template-parts/header/header-image.php on line 80Please help me to solve this issue.
The page I need help with: [log in to see the link]
- The topic ‘ajax add to cart is conflicting with Woocommerce multilingual’ is closed to new replies.