I have a problem, woocommerce does not display the product, in the console it writes 500 error. How can I fix it, tell me pzhl.
In which files can you edit and redefine the WooCommerce functions? How can I catch the moment of payment?
I have a problem, woocommerce does not display the product, in the console it writes 500 error. How can I fix it, tell me pzhl.
In which files can you edit and redefine the WooCommerce functions? How can I catch the moment of payment?
The woocommerce get_image_size function is outdated and replaced by wc_get_image_size . The latest versions of woocomerce do not contain get_image_size , so calling this function from your theme ends with a fatal error.
Apparently, the site has not been updated for a long time.
Options 3, in fact.
get_image_size calls with wc_get_image_size (but you also need to understand what you are doing)Most likely you have a PHP error, in order to understand where the problem is, in the wp-config.php activate WP_DEBUG and set define( 'WP_DEBUG', true );
I took access, looked at the logs, an error appears, this error appeared after updating the Woocommerce plugin
Call to undefined method WooCommerce::get_image_size() [Fri Feb 10 09:25:57 2017] [error] PHP Fatal error: Call to undefined method WooCommerce::get_image_size() Source: https://ru.stackoverflow.com/questions/625570/
All Articles