- This topic has 1 reply, 2 voices, and was last updated 8 years, 4 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › PHP error
I am consistently getting this error in my log:
PHP Warning: trim() expects parameter 1 to be string, array given in /home/kibocomm/public_html/wp-content/plugins/search-filter-pro/public/includes/class-search-filter-active-query.php on line 818
I am not sure why this is showing for you. If otherwise it is working, you need to follow the advice from the PHP manual and make sure that the PHP variable display_errors is set to OFF (in php.ini).
From what you write, it is ON and that is not correct/normal server PHP setup.
For PHP 5.x by default this setting is ON on first install, for PHP 7 they have fixed it and it is OFF by default.