Support » Plugin: Quantities and Units for WooCommerce » error message when debug activated

  • Hello,

    when activating the debug modus we get the following warnings from your plugin. Can you hel?

    _____________________________
    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(‘/plugins/woocommerce/templates/archive-product.php’), get_header, locate_template, load_template, require_once(‘/themes/Divi/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_scripts, do_action(‘wp_enqueue_scripts’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Quantities_and_Units->input_value_validation, 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 /var/www/vhosts/vps27551.alfahosting-vps.de/phonopack.vps27551.alfahosting-vps.de/wp-includes/functions.php on line 4147

    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(‘/plugins/woocommerce/templates/archive-product.php’), get_header, locate_template, load_template, require_once(‘/themes/Divi/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_scripts, do_action(‘wp_enqueue_scripts’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Quantities_and_Units->input_value_validation, wcqu_get_applied_rule, 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 /var/www/vhosts/vps27551.alfahosting-vps.de/phonopack.vps27551.alfahosting-vps.de/wp-includes/functions.php on line 4147

    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(‘/plugins/woocommerce/templates/archive-product.php’), get_header, locate_template, load_template, require_once(‘/themes/Divi/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_scripts, do_action(‘wp_enqueue_scripts’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Quantities_and_Units->input_value_validation, wcqu_get_applied_rule, 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 /var/www/vhosts/vps27551.alfahosting-vps.de/phonopack.vps27551.alfahosting-vps.de/wp-includes/functions.php on line 4147

    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(‘/plugins/woocommerce/templates/archive-product.php’), get_header, locate_template, load_template, require_once(‘/themes/Divi/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_scripts, do_action(‘wp_enqueue_scripts’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Quantities_and_Units->input_value_validation, wcqu_get_applied_rule, wcqu_get_applied_rule_obj, 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 /var/www/vhosts/vps27551.alfahosting-vps.de/phonopack.vps27551.alfahosting-vps.de/wp-includes/functions.php on line 4147

    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(‘/plugins/woocommerce/templates/archive-product.php’), get_header, locate_template, load_template, require_once(‘/themes/Divi/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_scripts, do_action(‘wp_enqueue_scripts’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Quantities_and_Units->input_value_validation, wcqu_get_applied_rule, wcqu_get_applied_rule_obj, 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 /var/www/vhosts/vps27551.alfahosting-vps.de/phonopack.vps27551.alfahosting-vps.de/wp-includes/functions.php on line 4147

    ________________________

    Best
    Franziska

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘error message when debug activated’ is closed to new replies.