Fatal error – is_type()
-
Hi! We have a problem with a client, we’re getting a fatal error on some products. This is the log:
[19-Dec-2018 14:00:44 UTC] PHP Fatal error: Uncaught Error: Call to a member function is_type() on string in public_html/wp-content/plugins/force-default-variant-for-woocommerce/includes/variations.php:98
Stack trace:
#0 public_html/wp-includes/class-wp-hook.php(288): hpy_fdv_default_attribute(Array)
#1 public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
#2 public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(726): apply_filters(‘woocommerce_pro…’, Array, Object(WC_Product_Variable))
#3 public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(546): WC_Data->get_prop(‘default_attribu…’, ‘view’)
#4 public_html/wp-content/plugins/pyp/includes/class-pyp-product-settings.php(377): WC_Product->get_default_attributes()
#5 public_html/wp-content/plugins/pyp/includes/class-pyp-frontend.php(615): sumo_pyp_get_variation_attributes(Object(WC_Product_Variable))
#6 /ho in public_html/wp-content/plugins/force-default-variant-for-woocommerce/includes/variations.php on line 98All the plugins are updated, thanks!
- The topic ‘Fatal error – is_type()’ is closed to new replies.