Okay
  Public Ticket #1713492
Search Error
Closed

Comments

  •  2
    Becca started the conversation

    When I use the search button at the top right of the page I am getting an error. My hosting provider provided the following and asked me to contact you - the theme developer support. Would you please help correct this error?

    The theme you are using does not support PHP 7.1 (the current version of PHP running on the server) and is calling the native WordPress search function incorrectly. This is what should be passed on to the theme developer's support:

    > Fatal error: Uncaught ArgumentCountError: Too few arguments to function wp_parse_str(), 1 passed in /www/wp-content/themes/polytechnic/search.php on line 10 and exactly 2 expected in /www/wp-includes/formatting.php:4356 Stack trace: #0 /www/wp-content/themes/polytechnic/search.php(10): wp_parse_str('s=safe%20enviro...') #1 /www/wp-includes/template-loader.php(74): include('/www/wp-content...') #2/www/wp-blog-header.php(19): require_once('/www/wp-include...') #3 /www/index.php(17): require('/www/wp-blog-he...') #4 {main} thrown in /www/wp-includes/formatting.php on line 4356".

  •   Becca replied privately
  •  2
    Becca replied

    Hi, I wondered if you had a chance to look at this? :-)

  •  2
    Becca replied

    Hi,

    Do you have any information for me on this by chance? My site is going live soon and I need to get this taken care of.

  •  2
    Becca replied

    Got it figured out. Thanks

  •  112
    Charles replied

    Hi Becca, Sorry for the long delay. I have been out of the office traveling a lot. Glad to hear you figured this out.