Hey guys.
I tried this product addon: https://wordpress.org/plugins/woocommerce-product-addon/
Which produced the below error. I have the latest version of WooCommerce. Are your templates up-to-date with it? Just trying to figure out what produced this. Thanks…
Fatal error: Uncaught Exception: Invalid product. in /home/justins6/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:152 Stack trace: #0 /home/justins6/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Product_Data_Store_CPT->read(Object(WC_Product)) #1 /home/justins6/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(134): WC_Data_Store->read(Object(WC_Product)) #2 /home/justins6/public_html/wp-content/plugins/woocommerce-product-addon/inc/functions.php(408): WC_Product->__construct(11127) #3 /home/justins6/public_html/wp-content/plugins/woocommerce-product-addon/inc/woocommerce.php(538): ppom_make_meta_data(Array) #4 /home/justins6/public_html/wp-includes/class-wp-hook.php(286): ppom_woocommerce_add_item_meta(Array, Array) #5 /home/justins6/public_html/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array) #6 /home/justins6/public_html/wp-content/plugins/woocommerce/includes/wc-template-fun in /home/justins6/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php on line 152
Hey Justin,
Can you give us steps how we can reproduce the error?
I have tried the plugin you mentioned and I was able to install and activate it and also viewed the cart but I wasn’t able to reproduce it.
Best regards,
Nikko
Well that’s interesting. It works fine now.
Thank you Nikko!
Justin
Hi Justin,
Glad that everything is working fine on your end as well :)
Thanks for using Enfold and have a great day!
Best regards,
Nikko