Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1387613
    kimelishap
    Participant

    I recently bought themex to create my site. I set up woocommerce and was having a problem. I contacted woo and they said themex had me on an unreleased beta. So I’m now on the released version of x. I started getting the below error on the single product page. If I move to the default WP them the error resolves itself.

    The first: Fatal error: Call to undefined method WC_Product_Simple::get_gallery_image_ids() in /home/lucasroy/public_html/wp-content/themes/x/woocommerce/single-product/product-thumbnails.php on line 25 this is coming from the single product page.

    Wordpress 4.7.2
    Theme X: 4.6.4
    Woo: 2.6.14, was on 2.7.1 beta unreleased
    Cornerstone: 1.3.3

    #1387652
    Rupok
    Member

    Hi there,

    Kindly check the Version Compatibility and make sure you are using latest compatible version. Looks like Latest Supported Version is 2.6.9 that you can download from here – https://downloads.wordpress.org/plugin/woocommerce.2.6.9.zip

    Cheers!

    #1387779
    kimelishap
    Participant

    Downgraded to woo 2.6.9- same problem

    #1388293
    Christopher
    Moderator

    Hi there,

    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 to your site
    – WordPress Admin username / password
    – FTP credentials

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

    Thanks.

    #1389025
    kimelishap
    Participant
    This reply has been marked as private.
    #1389207
    Darshana
    Moderator
    This reply has been marked as private.
    #1389273
    kimelishap
    Participant

    We are clear. Please take a look. Thanks!

    #1389814
    Christopher
    Moderator

    Hi there,

    I’m not able to replicate this on my local site even with latest version of woocommerce. Would you please duplicate your site on staging domain so we can easily investigate the issue?

    As the last attempt before duplicating your site, try to activate parent theme and check if it solves the issue.

    Thanks.

    #1390389
    kimelishap
    Participant
    This reply has been marked as private.
    #1390959
    Lely
    Moderator

    Hi There,

    Please copy product-thumbnails.php file from this folder: \wp-content\themes\x\woocommerce\single-product to your child theme here: \wp-content\themes\x-child\woocommerce\single-product.
    Open the copied file, look for this line (line 25):
    $attachment_ids = $product->get_gallery_attachment_ids();
    Update that line to this:
    $attachment_ids = $product->get_gallery_image_ids();

    Hope this helps.

    #1391314
    kimelishap
    Participant

    I moved it and it already said $attachment_ids = $product->get_gallery_image_ids();

    Same problem.

    #1391323
    kimelishap
    Participant
    This reply has been marked as private.
    #1391542
    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in! When I checked your page, I am no longer seeing the error. Please check it here: http://prntscr.com/eezy2v

    Since you are using SiteGround, could you please disable the supercacher in your hosting panel? The SuperCacher is developed by SiteGround exclusively for their customers. It increases the number of hits a site can handle and boosts the website loading speed. The SuperCacher includes 4 different caching options for maximum optimization of your websites. You can access the tool by clicking on the SuperCacher icon in your cPanel.

    For more information about this, please check it out here: https://www.siteground.com/tutorials/supercacher/supercacher_intro.htm

    Hope this helps.

    #1392058
    kimelishap
    Participant

    This is not it at all. I continued to work this problem and fixed it myself.

    #1392138
    Prasant Rai
    Moderator

    Happy to hear that. Feel free to ask us again. Have a great day! 🙂

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