Support » Theme: YITH Proteo » 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 5313

    Many thanks in advance.

    best regards
    Lina

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author YITHEMES

    (@yithemes)

    Hello there!
    Thanks for noting it! Fix will be added in coming release (next week). Thanks for your time 🙂

    I’ve got a similar one in WordPress admin:

    Notice: WP_Scripts::localize wurde fehlerhaft aufgerufen. Der Parameter $l10n muss ein Array sein. Um beliebige Daten an Skripte zu übergeben, verwende stattdessen die Funktion wp_add_inline_script(). Weitere Informationen: Debugging in WordPress (engl.) (Diese Meldung wurde in Version 5.7.0 hinzugefügt.) in /htdocs/lumophon/wp-includes/functions.php on line 5313

    Seems to be a internationalization issue – my WP and site is German.

    Thread Starter schnittverhext

    (@schnittverhext)

    Hello dear team,

    unfortunately I still get this message:

    PHP Notice: id wurde fehlerhaft aufgerufen. Produkteigenschaften sollten nicht direkt abgerufen werden. 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_product_data_tabs, wc_get_template, include(‘/plugins/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 Weitere Informationen: Debugging in WordPress (engl.) (Diese Meldung wurde in Version 3.0 hinzugefügt.) in xxx/wp-includes/functions.php on line 5313

    is there now a solution?

    best regards
    Lina

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.