Hello,
I am getting the following when I enabled debug on my site:
Notice: product_type 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/royal/woocommerce/single-product.php’), wc_get_template_part, load_template, require(‘/themes/royal/woocommerce/content-single-product.php’), previous_post_link_product, WC_Product->__construct, WC_Product->get_type, 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 /home1/reneema5/public_html/wp-includes/functions.php on line 4138
Notice: Undefined property: WC_Product::$product_type in /home1/reneema5/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php on line 139
Notice: product_type 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/royal/woocommerce/single-product.php’), wc_get_template_part, load_template, require(‘/themes/royal/woocommerce/content-single-product.php’), next_post_link_product, WC_Product->__construct, WC_Product->get_type, 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 /home1/reneema5/public_html/wp-includes/functions.php on line 4138
Notice: Undefined property: WC_Product::$product_type in /home1/reneema5/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php on line 139
Theme version: 3.0.2.1 WooCommerce version: 3.0.5Hello,
Please, provide me temporary admin panel and FTP access to your site and link to page where we’ll be able to check the problem.
Regards
More errors. can you not re-create these on your end. It shows up when debug is set to true.
Notice: product_type 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/royal/woocommerce/single-product.php’), get_header, locate_template, load_template, require_once(‘/themes/royal/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, Webdados_FB_Public->insert_meta_tags, WC_Product->__construct, WC_Product->get_type, 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 /wp-includes/functions.php on line 4138
Notice: Undefined property: WC_Product::$product_type in /wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php on line 139
Notice: product_type 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/royal/woocommerce/single-product.php’), wc_get_template_part, load_template, require(‘/themes/royal/woocommerce/content-single-product.php’), previous_post_link_product, WC_Product->__construct, WC_Product->get_type, 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 /wp-includes/functions.php on line 4138
Notice: Undefined property: WC_Product::$product_type in /wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php on line 139
Notice: product_type 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/royal/woocommerce/single-product.php’), wc_get_template_part, load_template, require(‘/themes/royal/woocommerce/content-single-product.php’), next_post_link_product, WC_Product->__construct, WC_Product->get_type, 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 /wp-includes/functions.php on line 4138
Notice: Undefined property: WC_Product::$product_type in /wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php on line 139
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/royal/woocommerce/single-product.php’), wc_get_template_part, load_template, require(‘/themes/royal/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_product_data_tabs, wc_get_template, include(‘/themes/royal/woocommerce/single-product/tabs/tabs.php’), call_user_func, comments_template, require(‘/themes/royal/woocommerce/single-product-reviews.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 /wp-includes/functions.php on line 4138
Strict Standards: Declaration of MH_Table_Rate_Plus_Shipping_Method::calculate_shipping() should be compatible with WC_Shipping_Method::calculate_shipping($package = Array) in /wp-content/plugins/mh-woocommerce-table-rate-shipping-plus/mh-wc-table-rate-plus.php on line 55
Hello,
Could you please provide wp-admin and FTP access in Private Content?
Regards,
Rose Tyler.
Hello,
We do not have these errors on your test site.
Regards,
Rose Tyler.
Hello,
You can change $product->ID
to $product->get_id()
Regards,
Rose Tyler.
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Your shopping cart is empty
You may extend support period on ThemeForest and then update its status by clicking "Update" button in your Account area.
Purchase code | Expiration date |
---|---|
d7ed5d03-cb21-4657-b20c-442972d0523c | 15 Nov 2016 |