Tagged: x
-
AuthorPosts
-
February 27, 2017 at 12:11 pm #1387613
kimelishapParticipantI 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.3February 27, 2017 at 12:38 pm #1387652
RupokMemberHi 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!
February 27, 2017 at 2:00 pm #1387779
kimelishapParticipantDowngraded to woo 2.6.9- same problem
February 27, 2017 at 11:34 pm #1388293
ChristopherModeratorHi 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 credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
February 28, 2017 at 11:11 am #1389025
kimelishapParticipantThis reply has been marked as private.February 28, 2017 at 2:01 pm #1389207
DarshanaModeratorThis reply has been marked as private.February 28, 2017 at 3:20 pm #1389273
kimelishapParticipantWe are clear. Please take a look. Thanks!
March 1, 2017 at 12:29 am #1389814
ChristopherModeratorHi 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.
March 1, 2017 at 9:19 am #1390389
kimelishapParticipantThis reply has been marked as private.March 1, 2017 at 3:46 pm #1390959
LelyModeratorHi 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.
March 1, 2017 at 8:39 pm #1391314
kimelishapParticipantI moved it and it already said $attachment_ids = $product->get_gallery_image_ids();
Same problem.
March 1, 2017 at 8:58 pm #1391323
kimelishapParticipantThis reply has been marked as private.March 2, 2017 at 2:16 am #1391542
Rue NelModeratorHello 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.
March 2, 2017 at 10:38 am #1392058
kimelishapParticipantThis is not it at all. I continued to work this problem and fixed it myself.
March 2, 2017 at 11:48 am #1392138
Prasant RaiModeratorHappy to hear that. Feel free to ask us again. Have a great day! 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1387613 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
