Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1352857
    bettyheim
    Participant

    Hello, after the last time I updated we started having an issue with the product pages for Woo Commerce. This is the error that we are seeing. I noticed that someone else had this error, but unfortunately they did not post the solution to the problem.

    Fatal error: Call to undefined function wc_get_product_attachment_props() in /home/myjoyenterprises/public_html/wp-content/themes/x/woocommerce/single-product/product-image.php on line 28

    #1353197
    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    Please try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    Hope it helps.

    #1357988
    bettyheim
    Participant

    Hello, I have disabled all plugins except cornerstone and woocommerce and still have the issue.

    #1358275
    Rue Nel
    Moderator

    Hi There,

    wc_get_product_attachment_props() is a WooCommerce function. You are experiencing a fatal error because PHP cannot find this function. WooCommerce plugin could be corrupted or may have been corrupted when updating or upon installation. Please delete WooCommerce and re install it again.

    If nothing else works, would you mind providing us the url of your site with login credentials so we can take a closer look and fix the issue? This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    To do this, you can make a post with the following info:
    – Link to your site

    – WordPress Admin username / password
    – FTP Hostname
    – FTP Username
    – FTP Password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thank you.

    #1358612
    bettyheim
    Participant

    Hello, I had an older copy of WooCommerce on my local computer. I uploaded that and all seems to be working. Thank you for your time!

    #1358663
    Rupok
    Member

    Glad that you are all set now. Have a nice day!

  • <script> jQuery(function($){ $("#no-reply-1352857 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>