Error with version 2.9.0
-
I updated to version 2.9.0 of the plugin and now I’m getting a blank page and the following error when visiting a coupon product page:
Uncaught TypeError: unserialize(): Argument #1 ($data) must be of type string, array given in /srv/vhost/example.com/home/html/wp-content/plugins/yith-woocommerce-gift-cards/templates/yith-gift-cards/gift-card-design.php:34 Stack trace: #0 /srv/vhost/example.com/home/html/wp-content/plugins/yith-woocommerce-gift-cards/templates/yith-gift-cards/gift-card-design.php(34): unserialize(Array) #1 /srv/vhost/example.com/home/html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/srv/vhost/edic...') #2 /srv/vhost/example.com/home/html/wp-content/plugins/yith-woocommerce-gift-cards/lib/class-yith-ywgc-frontend.php(504): wc_get_template('yith-gift-cards...', Array, '', '/srv/vhost/edic...') #3 /srv/vhost/example.com/home/html/wp-includes/class-wp-hook.php(307): YITH_YWGC_Frontend->show_design_section(Object(WC_Product_Gift_Card)) #4 /srv/vhost/example.com/home/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #5 /srv/vhost/example.com/home/html/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #6 /srv/vhost/example.com/home/html/wp-content/plugins/yith-woocommerce-gift-cards/templates/single-product/add-to-cart/gift-card.php(38): do_action('yith_ywgc_gift_...', Object(WC_Product_Gift_Card)) #7 /srv/vhost/example.com/home/html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/srv/vhost/edic...') #8 /srv/vhost/example.com/home/html/wp-content/plugins/yith-woocommerce-gift-cards/lib/class-yith-ywgc-frontend.php(189): wc_get_template('single-product/...', '', '', '/srv/vhost/edic...') #9 /srv/vhost/example.com/home/html/wp-includes/class-wp-hook.php(307): YITH_YWGC_Frontend->show_gift_card_product_template('') #10 /srv/vhost/example.com/home/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #11 /srv/vhost/example.com/home/html/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #12 /srv/vhost/example.com/home/html/wp-content/plugins/woocommerce/templates/content-single-product.php(60): do_action('woocommerce_sin...') #13 /srv/vhost/example.com/home/html/wp-includes/template.php(772): require('/srv/vhost/edic...') #14 /srv/vhost/example.com/home/html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template('/srv/vhost/edic...', false) #15 /srv/vhost/example.com/home/html/wp-content/plugins/woocommerce/templates/single-product.php(37): wc_get_template_part('content', 'single-product') #16 /srv/vhost/example.com/home/html/wp-includes/template-loader.php(106): include('/srv/vhost/edic...') #17 /srv/vhost/example.com/home/html/wp-blog-header.php(19): require_once('/srv/vhost/edic...') #18 /srv/vhost/example.com/home/html/index.php(17): require('/srv/vhost/edic...') #19 {main} thrown in <b>/srv/vhost/example.com/home/html/wp-content/plugins/yith-woocommerce-gift-cards/templates/yith-gift-cards/gift-card-design.php</b> on line 34
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Error with version 2.9.0’ is closed to new replies.