Tagged: Plugin Conflict
Hello, I am running into an issue where the developer of the plugin mentioned it was a conflict with Enfold.
I have WooCommerce Print Products installed which is supposed to generate a PDF of the product for print. An example would be to go to this page and click “Print Product” https://redefinedhomeboutique.com/product/anderson-nightstand/
Does anyone know how to resolve this?
Here is the error log I get from my server
[Wed Jan 09 12:49:06.749150 2019] [:error] [pid 27546] [client 155.186.205.13:62679] PHP Fatal error: Call to a member function get_price_html() on string in /nas/content/live/redefinedhome/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/product_snippets/product_snippet_button.php on line 110, referer: https://redefinedhomeboutique.com/product/anderson-nightstand/
Thanks in advance for any help!
Hey Brian,
Please go to the file
/enfold/config-templatebuilder/avia-shortcodes/product_snippets/product_snippet_button.php
find this code
if(!is_object($woocommerce) || !is_object($woocommerce->query) || empty($product) || is_admin() ) return;
and change it to
if(!is_object($woocommerce) || !is_object($woocommerce->query) || empty($product) || !is_object($product) || is_admin() ) return;
If you need further assistance please let us know.
Best regards,
Victoria
Thank you!!!
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon