This topic has 3 replies, 2 voices, and was last updated 9 years, 9 months ago ago by Robert Hall
Hello!
I just updated Woocommerce as requested in the dashboard. I’m not able to view anything on my website now.
Fatal error: Call to undefined method WooCommerce::get_image_size() in /home/russlib/public_html/wp-content/themes/blanco/woocommerce/content-product.php on line 54
Thank you!
Alex
Is anyone have same problem? I fixed already. Just go to Appearance –> Editor –> content-product.php and replace
$placeholder_width = $woocommerce->get_image_size( ‘shop_catalog_image_width’ );
$placeholder_height = $woocommerce->get_image_size( ‘shop_catalog_image_height’ );
with
// $placeholder_width = $woocommerce->get_image_size( ‘shop_catalog_image_width’ );
// $placeholder_height = $woocommerce->get_image_size( ‘shop_catalog_image_height’ );
Works for me.
Hello,
Thank you for your feedback.
We appreciate very much.
Regards,
Robert Hall.
Tagged: fatal error, get image size, themes, undefined method, woocommerce, wordpress
The issue related to '‘Fatal error: Call to undefined method WooCommerce::get_image_size()’' has been successfully resolved, and the topic is now closed for further responses