Home Forums WoodMart support forum Call to a member function get_image_id swatches

Call to a member function get_image_id swatches

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #426864

    scott-4472
    Participant

    I 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
    224

    #426865

    scott-4472
    Participant

    Uploaded file

    #426899

    Artem Temos
    Keymaster

    Hello,

    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

    #427014

    scott-4472
    Participant

    Thank 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.

    #427041

    Artem Temos
    Keymaster

    I will be online for the next 2-3 hours. I will do the check quickly.

    Kind Regards

    #427149

    scott-4472
    Participant

    Artem, 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.

    #427226

    Artem Temos
    Keymaster

    Hello,

    Yes, we understand. I’m online for the next 8 hours from now.

    Kind Regards

    #427279

    scott-4472
    Participant

    Hello Artem, if you available I am also for the next 30 minutes.

    #427283

    Artem Temos
    Keymaster

    Yes, I’m here to help you.

    #427290

    scott-4472
    Participant

    Private content

    #427295

    Artem Temos
    Keymaster

    Please, disable all external plugins temporarily as well.

    #427306

    scott-4472
    Participant

    Sorry, 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.

    #427308

    Artem Temos
    Keymaster

    In 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

    #427310

    scott-4472
    Participant

    This would be beyond my capabilities.
    What about weekends?

    #427321

    Artem Temos
    Keymaster

    We have fixed this issue on your website. Please, test how it works now.

    #427467

    scott-4472
    Participant

    Thank you Artem, the site works perfectly now.
    I really appreciate all your help with this.
    Scott

    #427560

    Artem Temos
    Keymaster

    Great, you are welcome! Feel free to contact us if you have any further questions.

    Kind Regards

Viewing 17 posts - 1 through 17 (of 17 total)

The topic ‘Call to a member function get_image_id swatches’ is closed to new replies.