I recently updated WP and some plugins and now I get this on all of my related product tabs. I know it says “Try: $product->get_type();” but I’m confused on where I should replace the old version with this version. It seems to be using “$product->product_type;” and says that it shouldn’t be called directly.

I’m lost on this one.

Read more here: WordPress 3.0 PHP Error – notice WordPress_product_Type was called incorrectly


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: