Tagged: Php error
-
AuthorPosts
-
July 28, 2020 at 2:34 pm #1233749
If you click ” see all results” after a search in the search bar – the result page shows following PHP errors:
Warning: strtolower() expects parameter 1 to be string, array given in /customers/7/7/3/goedkoopdrank.be/httpd.www/wp-includes/formatting.php on line 2151 Warning: strtolower() expects parameter 1 to be string, array given in /customers/7/7/3/goedkoopdrank.be/httpd.www/wp-includes/formatting.php on line 2151 Warning: strtolower() expects parameter 1 to be string, array given in /customers/7/7/3/goedkoopdrank.be/httpd.www/wp-includes/formatting.php on line 2151 Warning: strtolower() expects parameter 1 to be string, array given in /customers/7/7/3/goedkoopdrank.be/httpd.www/wp-includes/formatting.php on line 2151 Warning: strtolower() expects parameter 1 to be string, array given in /customers/7/7/3/goedkoopdrank.be/httpd.www/wp-includes/formatting.php on line 2151 Warning: strtolower() expects parameter 1 to be string, array given in /customers/7/7/3/goedkoopdrank.be/httpd.www/wp-includes/formatting.php on line 2151
You can see it here LIVE
https://www.goedkoopdrank.be/?s=coca&numberposts=5&post_type%5B0%5D=product&results_hide_fields=- This topic was modified 4 years, 3 months ago by Yannick77.
July 28, 2020 at 10:11 pm #1233799OK I found the error – it’s not solved – but now you can look for a solution ;-)
So I put in a manual search bar and put in a filter to only show “products” not pages and posts and then the PHP error occurs. When I turn the filter off and the search results show “all” the PHP error is gone…
Could you please fix it because I only need products in the search results.
Thank you.
ps: If you go to this search query you see the errors https://www.goedkoopdrank.be/?s=coca&numberposts=5&post_type%5B0%5D=product&results_hide_fields and if you remove everything after 5 so you get https://www.goedkoopdrank.be/?s=coca&numberposts=5 the error is gone
- This reply was modified 4 years, 3 months ago by Yannick77.
July 31, 2020 at 7:22 am #1234314 -
AuthorPosts
- You must be logged in to reply to this topic.