Gift card Plugin Error

Hello,

I have installed several gift card plugins on my website but none of them work. Indeed on the product page of the gift card a critical error appears, which is not the case on the other sites where I have installed them (these do not use betheme)


Link : https://www.hatcreative.fr/Anonla/

plugin name: PW WooCommerce Gift Cards

Error :

Warning: array_merge(): Expected parameter 2 to be an array, object given in /home/yxqc3054/hatcreative.fr/Anonla/wp-content/themes/betheme/functions/theme-functions.php on line 2188

Warning: Invalid argument supplied for foreach() in /home/yxqc3054/hatcreative.fr/Anonla/wp-content/themes/betheme/functions/theme-functions.php on line 2192


Fatal error: Uncaught Error: Call to undefined function woocommerce_pw-gift-card_add_to_cart() in /home/yxqc3054/hatcreative.fr/Anonla/wp-content/themes/betheme/functions/theme-shortcodes.php:361 Stack trace: #0 /home/yxqc3054/hatcreative.fr/Anonla/wp-content/themes/betheme/functions/builder/class-mfn-builder-items.php(79): sc_product_cart_button(Array, Object(WC_Product_PW_Gift_Card)) #1 /home/yxqc3054/hatcreative.com/Anonla/wp-content/themes/betheme/functions/builder/class-mfn-builder-front.php(675): Mfn_Builder_Items::item_product_cart_button(Array) #2 /home/yxqc3054/hatcreative.fr/Anonla/wp-content/themes/betheme/functions/builder/class-mfn-builder-front.php(604): Mfn_Builder_Front->show_items(Array, 2, false) #3 /home/yxqc3054/hatcreative.fr/Anonla/wp-content/themes/betheme/functions/builder/class-mfn-builder-front.php(401): Mfn_Builder_Front->show_wraps(Array, 1, false) #4 /home/yxqc3054/hatcreative.fr/Anonla/wp-content/themes/betheme/template-single-product.php(20): Mfn_Builder_Front->show() #5 /home/yxqc3054/hatcre in /home/yxqc3054/hatcreative.fr/Anonla/wp-content/themes/betheme/functions/theme-shortcodes.php on line 361

Comments

Sign In or Register to comment.