Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1217824
    Jacob D
    Participant

    Hi.
    After I updated Theme X woocommerce plugin began to have fatal errors when I try to purchase something in the shop on my website. It gives me this: Fatal error: Call to undefined function wc_get_product_attachment_props() in /home/trumpet/public_html/wp-content/themes/x/woocommerce/single-product/product-image.php on line 28

    Resources


    https://trumpetofsalvation.org/product/the-messenger-dvd/
    I have WordPress 4.1.1 running X theme.

    Please help me with this problem.
    Thank you!

    #1217914
    Christopher
    Moderator

    Hi there,

    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.

    #1220824
    Jacob D
    Participant

    Hi,

    I tried to deactivate all the plugins but the problem is not fixed. What else can I do?

    #1220880
    Thai
    Moderator

    Hi There,

    In this case, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link login to your site
    – WordPress Admin username / Password
    – FTP Account

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

    Thanks.

    #1222689
    Jacob D
    Participant
    This reply has been marked as private.
    #1222819
    Jade
    Moderator

    Hi Jacob,

    The login details provided doesn’t seem to work.

    For the meantime, kindly refer to this page as a possible solution: https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wc_get_product_attachment_props/

    Hope this helps.

    #1224087
    Jacob D
    Participant
    This reply has been marked as private.
    #1224095
    Jacob D
    Participant
    This reply has been marked as private.
    #1224420
    Darshana
    Moderator

    Hi there,

    Upon checking, it seems that your PHP version is v5.4.39. Contact your hosting provider and ask them to update your PHP version to at least v5.6.0 or above to avoid such incompatibility issues.

    Let us know how it goes.

    #1252112
    Jacob D
    Participant

    Hi.
    Last time, about two weeks ago, you said that I need to update my PHP version, now I moved to a new hosting and along with a new PHP. But in doing so, I still have the same problem. What can I do next? My shop is still not working.

    Here is what the error says: Fatal error: Call to undefined function wc_get_product_attachment_props() in /home2/trumpet/public_html/wp-content/themes/x/woocommerce/single-product/product-image.php on line 28

    #1252656
    Rue Nel
    Moderator

    Hello There,

    The given user credentials in the previous replies no longer works for us. 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.

    #1255433
    Jacob D
    Participant
    This reply has been marked as private.
    #1255759
    Darshana
    Moderator
    This reply has been marked as private.
  • <script> jQuery(function($){ $("#no-reply-1217824 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>