PHP Notice
-
Hello dear team,
I have the following errors in my debug log.
can you help me?
[10-Mar-2021 14:41:21 Europe / Berlin] PHP Notice: Trying to get property ‘ID’ of non-object in xxx / wp-content / themes / yith-proteo / header.php on line 205
[10-Mar-2021 14:41:27 Europe / Berlin] PHP Notice: id was called incorrectly . Product properties should not be called up 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 (‘/ themes / yith-proteo / woocommerce / content-single-product.php’), do_action (‘woocommerce_after_single_product_summary’), WP_Hook-> do_action, WP_Hook-> apply_filters, woocommerce_output_products / wcplate, include_template /woocommerce/templates/single-product/tabs/tabs.php ‘), apply_filters (‘ woocommerce_product_tabs’), WP_Hook-> apply_filters, delete_tab, WC_Abstract_Legacy_Product -> __ get, wc_doing_it_wrong further information: .org / support / article / debugging-in-wordpress / “> Debugging in WordPress (This message was added in version 3.0.) in xxx / wp-includes / functions.php on line 5313Many thanks in advance.
best regards
LinaThe page I need help with: [log in to see the link]
- The topic ‘PHP Notice’ is closed to new replies.