Query Loop on search results page template
-
I have a FSE theme with a search results template made with query loop builder. If a search results empty, I get some errors:
Warning: Undefined variable $postId in /home/cloud2/public_html/ecsa.devdue.it/wp-content/plugins/greenshiftquery/blockrender/meta/block.php on line 131
Warning: Attempt to read property “ID” on null in /home/cloud2/public_html/ecsa.devdue.it/wp-content/plugins/greenshiftquery/greenshiftquery.php on line 720
How can I display a custom message like: “no results found”?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Query Loop on search results page template’ is closed to new replies.