Fatal error: Call to undefined method WooCommerce::wc_get_image_size()

This topic has 12 replies, 5 voices, and was last updated 9 years, 7 months ago ago by Eva Kemp

  • Avatar: brianstoiber
    brianstoiber
    Participant
    April 6, 2015 at 14:34

    I updated to WooCommerce 2.3.7 this morning. On the shop front page I am receiving the following:

    Fatal error: Call to undefined method WooCommerce::wc_get_image_size() in /home/starwar8/starwarsccg.org/wpstore/wp-content/themes/idstore/code/woo.php on line 487

    I have already searched your forums and did find that I needed to change “get_image_size()” to “wc_get_image_size()” but that has not solved the problem. This is a live site so if you can help quickly that would be greatly appreciated.

    11 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    April 6, 2015 at 14:56

    Hello,

    Please provide us with wp-admin and FTP credentials in Private Content.

    Regards,
    Robert Hall.

    Avatar: brianstoiber
    brianstoiber
    Participant
    April 6, 2015 at 15:06

    See details below.

    Please, contact administrator
    for this information.
    Avatar: Robert Hall
    Robert Hall
    Support staff
    April 6, 2015 at 15:25

    Sorry, but your FTP credentials isn’t correct. Please provide us again.

    Regards,
    Robert Hall.

    Avatar: brianstoiber
    brianstoiber
    Participant
    April 6, 2015 at 15:35

    Just logged in with the info below and copied and pasted everything into the private content box. Should work now.

    Please, contact administrator
    for this information.
    Avatar: Brian Johnson
    Brian Johnson
    Member
    April 6, 2015 at 15:37

    Hello

    The issue has been fixed .The line should look like:$dimensions = wc_get_image_size( $small_thumbnail_size );

    With best regards
    Brian Johnson

    Avatar: brianstoiber
    brianstoiber
    Participant
    April 6, 2015 at 15:39

    Than you for the fast response. I have never seen support work that fast.

    Avatar: Brian Johnson
    Brian Johnson
    Member
    April 6, 2015 at 15:41

    You are welcome!

    With best reagrds
    Brian Johnson

    Avatar: ariciule
    ariciule
    Participant
    April 10, 2015 at 09:51

    I have the same problem, ¿on which file must change these code line?
    Thanks

    Avatar: Robert Hall
    Robert Hall
    Support staff
    April 10, 2015 at 09:57

    Hello,

    You can find this code in themes/idstore/code/woo.php on line 487

    Regards,
    Robert Hall.

    Avatar: ariciule
    ariciule
    Participant
    April 10, 2015 at 10:11

    Ok, solved, thank you

    Avatar: Eva
    Eva Kemp
    Support staff
    April 10, 2015 at 11:48

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

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

The issue related to '‘Fatal error: Call to undefined method WooCommerce::wc_get_image_size()’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service

Helpful Topics

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