Home › Forums › WoodMart support forum › Call to a member function get_image_id swatches
Call to a member function get_image_id swatches
- This topic has 16 replies, 2 voices, and was last updated 2 years ago by Artem Temos.
-
AuthorPosts
-
December 7, 2022 at 3:25 am #426864
scott-4472ParticipantI have one call that is throwing Uncaught and critical Error and displaying on on my ‘product-category/on-sale’ page.
After searching the forum I have updated core and plugins, deactivated all plugins bringing them back online one by one and deactivated SiteGround Optimizer all to no avail.
The displayed error:
****************
Uncaught Error: Call to a member function get_image_id() on bool in /home/customer/www/wyomingtraders.com/public_html/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/swatches.php:224 Stack trace: #0 /home/customer/www/wyomingtraders.com/public_html/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/swatches.php(300): woodmart_get_option_variations(‘pa_color’, Array, false, 6133) #1 /home/customer/www/wyomingtraders.com/public_html/wp-content/themes/woodmart/woocommerce/content-product.php(42): woodmart_swatches_list() #2 /home/customer/www/wyomingtraders.com/public_html/wp-includes/template.php(785): require(‘/home/customer/…’) #3 /home/customer/www/wyomingtraders.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template(‘/home/customer/…’, false) #4 /home/customer/www/wyomingtraders.com/public_html/wp-content/themes/woodmart/inc/integrations/woocommerce/functions.php(497): wc_get_template_part(‘content’, ‘product’) #5 /home/customer/www in
/home/customer/www/wyomingtraders.com/public_html/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/swatches.php
on line
224December 7, 2022 at 3:28 am #426865
scott-4472ParticipantUploaded file
December 7, 2022 at 10:23 am #426899
Artem TemosKeymasterHello,
Thank you so much for purchasing our theme and contacting our support center.
Could you please disable all plugins that are not related to our theme, switch to the parent theme and provide us your admin access so we can check it?
Thank you in advance
December 7, 2022 at 2:02 pm #427014
scott-4472ParticipantThank you Artem. The site is a retail business site, May I schedule a time of day/night when you will be available to look at this so it’s not left without necessary functions for an extended period?
I won’t be available again to do this for another 10 hours.December 7, 2022 at 3:37 pm #427041
Artem TemosKeymasterI will be online for the next 2-3 hours. I will do the check quickly.
Kind Regards
December 8, 2022 at 12:01 am #427149
scott-4472ParticipantArtem, the times on this forum are different than my time.
I am at MT and it’s 2:00 pm here right now and I am available again now for another 6 hours.
I’ll keep checking back for your reply till then.
After that I won’t be available till this time tomorrow.
Thanks.December 8, 2022 at 10:22 am #427226
Artem TemosKeymasterHello,
Yes, we understand. I’m online for the next 8 hours from now.
Kind Regards
December 8, 2022 at 12:33 pm #427279
scott-4472ParticipantHello Artem, if you available I am also for the next 30 minutes.
December 8, 2022 at 12:34 pm #427283
Artem TemosKeymasterYes, I’m here to help you.
December 8, 2022 at 12:52 pm #427290
scott-4472ParticipantPrivate content
- This reply was modified 2 years ago by Artem Temos.
December 8, 2022 at 12:54 pm #427295
Artem TemosKeymasterPlease, disable all external plugins temporarily as well.
December 8, 2022 at 1:04 pm #427306
scott-4472ParticipantSorry, I must now leave for work. Is there another who can work on this during my available times?
I am available from 2:00pm (Mountain time) to 7:00 pm.December 8, 2022 at 1:05 pm #427308
Artem TemosKeymasterIn this case, you need to create a staging development copy of your website. There, you will be able to do such kind of experiments without any harm to your production website.
Kind Regards
December 8, 2022 at 1:06 pm #427310
scott-4472ParticipantThis would be beyond my capabilities.
What about weekends?December 8, 2022 at 1:36 pm #427321
Artem TemosKeymasterWe have fixed this issue on your website. Please, test how it works now.
December 8, 2022 at 11:58 pm #427467
scott-4472ParticipantThank you Artem, the site works perfectly now.
I really appreciate all your help with this.
ScottDecember 9, 2022 at 10:27 am #427560
Artem TemosKeymasterGreat, you are welcome! Feel free to contact us if you have any further questions.
Kind Regards
-
AuthorPosts
Tagged: swatches get_image_id
The topic ‘Call to a member function get_image_id swatches’ is closed to new replies.
- You must be logged in to create new topics. Login / Register