Hello,
I updated both the theme and the woocommerce plugin and I get some errors. Maybe you are aware of it and you can guide me tho solve theme. Of course I can see them only when I have define(‘WP_DEBUG’, true);
At the home page I see:
Notice: Trying to get property of non-object in /home/socia582/public_html/dantemen.com/update/wp-includes/class-wp-query.php on line 3750
At the product page:
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/classico/woocommerce/single-product.php’), wc_get_template_part, load_template, require(‘/themes/classico-child/woocommerce/content-single-product.php’), do_action(‘woocommerce_single_product_summary’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, sociality_remove_addtocart_from_single_product, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /home/socia582/public_html/dantemen.com/update/wp-includes/functions.php on line 4138
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/classico/woocommerce/single-product.php’), wc_get_template_part, load_template, require(‘/themes/classico-child/woocommerce/content-single-product.php’), do_action(‘woocommerce_single_product_summary’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, show_email_form, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /home/socia582/public_html/dantemen.com/update/wp-includes/functions.php on line 4138
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/classico/woocommerce/single-product.php’), wc_get_template_part, load_template, require(‘/themes/classico-child/woocommerce/content-single-product.php’), do_action(‘woocommerce_single_product_summary’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, sociality_remove_addtocart_from_archive_products, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /home/socia582/public_html/dantemen.com/update/wp-includes/functions.php on line 4138
Notice: WC_Product::get_upsells is deprecated since version 3.0! Use WC_Product::get_upsell_ids instead. in /home/socia582/public_html/dantemen.com/update/wp-includes/functions.php on line 3830
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/classico/woocommerce/single-product.php’), wc_get_template_part, load_template, require(‘/themes/classico-child/woocommerce/content-single-product.php’), woocommerce_upsell_display, wc_get_template, include(‘/themes/classico-child/woocommerce/single-product/up-sells.php’), WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /home/socia582/public_html/dantemen.com/update/wp-includes/functions.php on line 4138
Anything I could do about those? The update of the theme was done from 1.7.1 to 1.8
Thank you in advance.