• Resolved mikepalmerpyramid

    (@mikepalmerpyramid)


    I had a tonne of errors after my dev migrated to a new domain and hosting. Decided to go it alone now.

    I have one error I cant seem to fix

    Notice: post was calledincorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/maxstore-pro/woocommerce.php'), woocommerce_content, wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item_title'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_after_shop_loop_item_title_short_description, 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 /home/oncampusart/public_html/wp-includes/functions.php on line 5225

    Any help on this would be greatly appreciated crippling me at the moment

Viewing 2 replies - 1 through 2 (of 2 total)
  • Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi @mikepalmerpyramid!

    The issue is coming from your theme. It looks like it might have some old core WooCommerce template files which will need to be updated. For that you would need to contact your theme author.

    Regarding the error, this is a warning that the way the theme is coded will break things in a future core release.

    Cheers!

    Plugin Support wpnomad a11n

    (@wpnomad)

    Hi there,

    I hope you found the previous reply helpful. We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, feel free to start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error on product pages after migration’ is closed to new replies.