-
Hi,
The theme seems to have some new compatibility problems, the below text is coming from our log files.
Some depricated functions are called and some other detailed things I do not understand.
When will there be an update to make the theme fully compatible?
Got error ‘PHP message: The woocommerce_get_product_schema function is deprecated since version 3.0.\nPHP message: The get_product function is deprecated since version 3.0. Replace with wc_get_product.\nPHP message: The WC_Product::get_gallery_attachment_ids function is deprecated since version 3.0. Replace with WC_Product::get_gallery_image_ids.\nPHP message: id was called incorrectly. Producteigenschappen mogen niet rechtstreeks aangeroepen worden. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/dmcs/woocommerce.php’), DH_Woocommerce::content, wc_get_template_part, load_template, require(‘/themes/dmcs-child/woocommerce/content-single-product.php’), do_action(‘woocommerce_single_product_summary’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, woocommerce_template_single_add_to_cart, do_action(‘woocommerce_variable_add_to_cart’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, woocommerce_variable_add_to_cart, wc_get_template, include(‘/themes/dmcs/woocommerce/single-product/add-to-cart/variable.php’), WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.\nPHP message: id was called incorrectly. Producteigenschappen mogen niet rechtstreeks aangeroepen worden. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/dmcs/woocommerce.php’), DH_Woocommerce::content, wc_get_template_part, load_template, require(‘/themes/dmcs-child/woocommerce/content-single-product.php’), do_action(‘woocommerce_single_product_summary’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, woocommerce_template_single_add_to_cart, do_action(‘woocommerce_variable_add_to_cart’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, woocommerce_variable_add_to_cart, wc_get_template, include(‘/themes/dmcs/woocommerce/single-product/add-to-cart/variable.php’), DH_Woocommerce_Product_Variable->get_product_image, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.\nPHP message: The get_product function is deprecated since version 3.0. Replace with wc_get_product.\nPHP message: The WC_Product::get_gallery_attachment_ids function is deprecated since version 3.0. Replace with WC_Product::get_gallery_image_ids.\nPHP message: The WC_Product::get_upsells function is deprecated since version 3.0. Replace with WC_Product::get_upsell_ids.\nPHP message: id was called incorrectly. Producteigenschappen mogen niet rechtstreeks aangeroepen worden. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/dmcs/woocommerce.php’), DH_Woocommerce::content, wc_get_template_part, load_template, require(‘/themes/dmcs-child/woocommerce/content-single-product.php’), do_action(‘woocommerce_after_single_product_summary’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, DH_Woocommerce->upsell_display, woocommerce_upsell_display, wc_get_template, include(‘/themes/dmcs-child/woocommerce/single-product/up-sells.php’), WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.\nPHP message: The WC_Product::get_related function is deprecated since version 3.0. Replace with wc_get_related_products.\nPHP message: id was called incorrectly. Producteigenschappen mogen niet rechtstreeks aangeroepen worden. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/dmcs/woocommerce.php’), DH_Woocommerce::content, wc_get_template_part, load_template, require(‘/themes/dmcs-child/woocommerce/content-single-product.php’), do_action(‘woocommerce_after_single_product_summary’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, woocommerce_output_related_products, woocommerce_related_products, wc_get_template, include(‘/themes/dmcs-child/woocommerce/single-product/related.php’), WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.\n’, referer: https://www.klerenmakendebaby.nl/product/cap-snapback-custom-melange/
If there is a temporary fix for the above, please could you provide this?
Regards,
Michiel
Compatibility problems Woocommerce 3.0 >
This topic is: resolved