Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1051840

    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!

    #1053058

    Hey Brian,

    Please go to the file
    /enfold/config-templatebuilder/avia-shortcodes/product_snippets/product_snippet_button.php
    find this code
    Image 2019-01-12 at 13.45.14.png

    
    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

    #1053711

    Thank you!!!

    #1053786

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘WooCommerce Print Products Conflict’ is closed to new replies.