is_page() error in class-wpsolr-plugin-woocommerce.php resulting in null-object
There are several errors of this content that appear on the storefront/bookshop theme homepage ONLY:
( ! ) Notice: Trying to get property ‘ID’ of non-object in /var/www/antikvarijatknjiga.hr/public_html/wp-includes/class-wp-query.php on line 3918
You can full the full stack trace if you simply go to http://www.antikvarijatknjiga.hr
Not exactly the same, but now it fails at is_page(). Here are few last lines of the stack trace. If you go to http://www.antikvarijatknjiga.hr you can see the full trace.
But here is a screenshot of the stack trace before that fix, just so you have it for reference:
It actually is not directly a product archive. It is a page based on Homepage template that is part of Storefront Powerpack.
Here is storefont theme:
Here is storefront Powerpack:
Here is bookshop child theme I am using:
You must be logged in to reply to this topic.