Error with WC 2.4.x
-
I’m having problems with the YITH Woocommerce Compare plugin, with woocommerce 2.4.x I get this error:
Warning: Illegal string offset ‘crop’ in \wp-content\plugins\yith-woocommerce-compare\includes\class.yith-woocompare-helper.php on line 32Warning: Illegal string offset ‘width’ in \wp-content\plugins\yith-woocommerce-compare\includes\class.yith-woocompare-helper.php on line 33
Warning: Illegal string offset ‘height’ in \wp-content\plugins\yith-woocommerce-compare\includes\class.yith-woocompare-helper.php on line 33
Warning: Illegal string offset ‘crop’ in \wp-content\plugins\yith-woocommerce-compare\includes\class.yith-woocompare-helper.php on line 33
In compare window picture of products is very big.In table option option_name yith_woocompare_image_size = Array
I manually change it to a:3:{s:5:”width”;s:3:”220″;s:6:”height”;s:3:”154″;s:4:”crop”;s:2:”on”;} – works normally until I press Save in plugin options. After it yith_woocompare_image_size = Array and yith_woocompare_fields_attrs = Array with warning on site :Warning: Illegal string offset ‘crop’ in \wp-content\plugins\yith-woocommerce-compare\includes\class.yith-woocompare-helper.php on line 32
Warning: Illegal string offset ‘width’ in \wp-content\plugins\yith-woocommerce-compare\includes\class.yith-woocompare-helper.php on line 33
Warning: Illegal string offset ‘height’ in \wp-content\plugins\yith-woocommerce-compare\includes\class.yith-woocompare-helper.php on line 33
Warning: Illegal string offset ‘crop’ in \wp-content\plugins\yith-woocommerce-compare\includes\class.yith-woocompare-helper.php on line 33
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘YITH_Woocompare_Frontend’ does not have a method ‘add_product_to_compare_a`tion’ in \wp-includes\plugin.php on line 503
I use latest wordpress-4.3.1
When I reinstall woocommerce_2.3.13 – errors disappeared.
- The topic ‘Error with WC 2.4.x’ is closed to new replies.