This topic has 4 replies, 3 voices, and was last updated 9 years, 9 months ago ago by Robert Hall
Just updated to the newest WooCommerce 2.3.1 and have the following fatal error appearing.
Fatal error: Call to undefined method WooCommerce::get_image_size() in [full path in private content] themes/blanco/woocommerce/content-product.php on line 54
It is on the homepage of 2smock.com and rather a problem. I will try find a work around but it would appear that the Blanco theme needs to be updated again.
Thanks for any suggestions or help, don’t want to mess up the code but can edit it a little if it solves the issue while the problem is being fixed.
UPDATED: have temporarily edited the site to default to the blog so that I don’t loose too many customers in the mean time.
Got same problem. 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.
Thank you russlib for that, working well now.
Hello,
This bug will be fixed in the next theme update.
Sorry for inconvenience.
Regards,
Robert Hall.
The issue related to '‘WooCommerce 2.3.1 Blanco Fatal error: Call to undefined method’' has been successfully resolved, and the topic is now closed for further responses