Hi,
My site kept having this Internal Server Error during checkout, wondering what has gone wrong.
It was working perfectly before this but not sure what had happened and now no order can be processed.
Hope you could help. Thanks in advance.
The following is the error found:
[30-Aug-2021 08:01:35 UTC] PHP Notice: product_type was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/single-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-single-product.php'), do_action('woocommerce_single_product_summary'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_single_add_to_cart, do_action('woocommerce_variable_add_to_cart'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_variable_add_to_cart, WC_Product_Variable->get_available_variations, WC_Product_Variable->get_available_variation, WC_Product->get_price_html, apply_filters('woocommerce_get_price_html'), WP_Hook->apply_filters, lw_hide_variation_price, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. in C:\Inetpub\vhosts\mycanvasprints.com.my\httpdocs\wp-includes\functions.php on line 5535