PHP Fatal Error – WC_Product_Variable

This topic has 6 replies, 3 voices, and was last updated 6 years, 11 months ago ago by Olga Barlow

  • Avatar: bluehiveinteractive
    BHI
    Participant
    April 11, 2017 at 06:21

    We noticed this repeatedly showing up in the debug.log file of wordpress

    [11-Apr-2017 05:13:00 UTC] PHP Fatal error: Call to undefined method WC_Product_Variable::get_gallery_image_ids() in /home/amishyard/public_html/wp-content/themes/xstore/woocommerce/single-product/product-image.php on line 51

    We are running WordPress 4.7.3 / WooCommerce 2.6.14 / Xstore 3.11.1

    5 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 11, 2017 at 07:51

    Hello,

    If you are using WC 2.6.14 then downgrade theme to version 3.10.1 because 3.11 and higher works with WC 3.0 and higher.
    Let me know if you need 3.10.1 version archive.

    Regards

    Avatar: bluehiveinteractive
    BHI
    Participant
    April 12, 2017 at 03:34

    thank you. I have updated woocommerce and all is well with that error.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 12, 2017 at 07:39

    Hello,

    I’m glad that problem was solved. Have a good day.

    Regards

    Avatar: heArtcoder
    heArtcoder
    Participant
    May 28, 2017 at 20:21

    Hi Olga is 3.10.1 still latest compatible with WooCommerce 2.6.14?
    Can’t upgrade the WC to 3.0 because my payment gateway still didn’t updated there official plugin.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 29, 2017 at 12:23

    Hello,

    Yes, XStore 3.11 and higher does not support (and won’t support) WC 2.6.x.

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.