Okay
  Public Ticket #1203181
Debug errors
Closed

Comments

  • gentle_ben started the conversation

    Hi there, I just switched on debugging and our site is full of errors. Found a short discussion about this on ThemeForest but it didn't go anywhere with a solution.

    Notice: post 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/taxonomy-product_cat.php'), wc_get_template, include('/plugins/woocommerce/templates/archive-product.php'), wc_get_template_part, load_template, require('/themes/salient/woocommerce/content-product.php'), do_action('woocommerce_before_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, gtm4wp_woocommerce_before_shop_loop_item, 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/....../wp-includes/functions.php on line 4139

    This is happening all over the place with different post types, but it generally seems to be that line 4139.

    Thanks,
    Ben.

  •  9,012
    Tahir replied

    Hey Again,

    Which Version of the theme are you using ?. We have version 8.0.15 resolve Woocommerce issues .

    To get a list of Bug Fixes and new Feature addons in the Latest Theme update,  the changelog can be viewed here : http://themenectar.com/changelogs/salient.html .

    Update the theme by following this guide: http://themenectar.com/docs/salient/updating-salient/ .

    Best.


    ThemeNectar Support Team