Wishlist breaks the website
-
Hi,
Can any one please help…I have a WPML integrated website and i have used this plugin for wish list section.I don’t know how but some times the website breaks due to the plugin and if i deactivate it the site works normal. I’ve implemented an error log and found this error.PHP Fatal error: Uncaught TypeError: Argument 1 passed to WCML_Products::__construct() must be an instance of woocommerce_wpml, null given, called in /home/wp_ttcwj2/antonio.ae/wp-content/plugins/ti-woocommerce-wishlist/integrations/woocommerce-multilingual.php on line 111 and defined in /home/wp_ttcwj2/antonio.ae/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-products.php:25
Stack trace:
#0 /home/wp_ttcwj2/antonio.ae/wp-content/plugins/ti-woocommerce-wishlist/integrations/woocommerce-multilingual.php(111): WCML_Products->__construct(NULL, Object(SitePress), Object(WPML_Frontend_Post_Actions), Object(wpdb))
#1 /home/wp_ttcwj2/antonio.ae/wp-includes/class-wp-hook.php(287): tinvwl_wpml_addtowishlist_out_prepare(Array)
#2 /home/wp_ttcwj2/antonio.ae/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array)
#3 /home/wp_ttcwj2/antonio.ae/wp-content/plugins/ti-woocommerce-wishlist/public/addtowishlist.class.php(671): apply_filters(‘tinvwl_addtowis…’, Array)
#4 /home/wp_ttcwj2/antonio.ae/wp-content/plugins/ti-wo in /home/wp_ttcwj2/antonio.ae/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-products.php on line 25
- The topic ‘Wishlist breaks the website’ is closed to new replies.