Call to undefined method error - by ywickham

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

  • Avatar: ywickham
    ywickham
    Participant
    February 28, 2015 at 22:08

    I seem to be running into an issue with the theme and Woocommerce. When I go to Woocommerce > Settings > Products > Shop Page Display and set that to “Show categories & subcategories”, I get the following error on my shop page:

    Fatal error: Call to undefined method WooCommerce::get_image_size() in /home4/trevor/public_html/wp-content/themes/idstore/code/woo.php on line 487

    I’ve completely deleted and re-uploaded the theme and the Woocommerce plugin. I’ve tried disabling all the plugins, but still can’t get this error to go away.

    Any idea on how to fix this?

    Thanks!

    Please, contact administrator
    for this information.
    6 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    February 28, 2015 at 22:28

    Hello,

    Please check the site now.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: ywickham
    ywickham
    Participant
    February 28, 2015 at 22:30

    Please try same creds again.

    Avatar: ywickham
    ywickham
    Participant
    February 28, 2015 at 22:31

    Thank you Eva. What was the fix?

    Avatar: Eva
    Eva Kemp
    Support staff
    March 2, 2015 at 15:07

    Hello,

    I’ve edited the file woo.php on line 487 and replaced $woocommerce->get_image_size with wc_get_image_size.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: ywickham
    ywickham
    Participant
    March 3, 2015 at 19:45

    Thank you for the update!

    Avatar: Eva
    Eva Kemp
    Support staff
    March 3, 2015 at 20:37

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

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

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

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