Problem: I'm shown a notice in the PHP logs:
-------------------------------
Trying to get property of non-object
Type: PHP Notice Line: 116
File: /path/to/wp-content/plugins/unicorn-assistant/unicorn-assistant.php
-------------------------------
I have spoken with the support people of the unicorn assistant plugin and they have told me that it is a 'Toolset' problem:
"One can hide the notice, but it will only hide it and not deal with the problem with posts and post-type property, which is most likely coming from Toolsets. "
Solution: I'm not clear why the Unicorn Assistant team thinks this is a Toolset problem. After doing some additional investigation, it appears this has nothing to do with Toolset. When Toolset plugins are all disabled and no Toolset API PHP code is executed, this notice still appears when you add the following product to your shopping cart: /producto/jfcontrols-developer/
The issue here is that the customer is getting an infinite loop error on his product page.
Solution:
The issue because of the [wpv-woo-display-tabs] that is calling for the post body but in the post body you are calling for the body again with a separate content template.
This would work if you call another post in the post body like this [wpv-post-body id='35284' view_template="jfcontrols-standard-descripcion-larga"]
But calling itself will result in an infinite loop.
We document known issues and their solutions in Toolset errata. Save time by checking there first and seeing if what you are facing is a known issue. This list is kept short. We do our best to resolve all known issues with every release of Toolset plugins.
Support Policy
Toolset staff will help you use the Toolset plugins correctly, provide any information you need, help troubleshoot problems and advice on best-practices.
Please make sure to issue only one topic per each support ticket.