Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #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.
    #1233799

    OK 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.
    #1234314

    Hi,

    Thank you for the update.

    Looks like the issue or error also occurs in the footer widgets. What is the filter that you’re using? Have you tried disabling the plugins?

    Best regards,
    Ismael

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.