- This topic has 1 reply, 2 voices, and was last updated 9 years, 10 months ago by .
Viewing 2 posts – 1 through 2 (of 2 total)
Viewing 2 posts – 1 through 2 (of 2 total)
Forums › Forums › Search & Filter Pro › Pluging Causing Errors
I have started receiving the following errors on my site.
Warning: Invalid argument supplied for foreach() in /home/…/wp-content/plugins/search-filter-pro/includes/class-search-filter-third-party.php on line 227
Error Log:
[01-Feb-2017 07:09:38 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/…/wp-content/plugins/search-filter-pro/includes/class-search-filter-third-party.php on line 227
I Deactivate all plugins and it works. Plugin clashing with: woocommerce.
System Status looks OK: https://www.easterncapeusedcars.co.za/admin.jpg
Have you changed the version of PHP that your server uses, or changed server?
Do you know what the server/domain PHP variable display_errors is set to? Following the PHP manual it should be set to OFF, 0 or FALSE (it is boolean). This is what the manual says:
This is a feature to support your development and should never be used on production systems (e.g. systems connected to the internet).
You’re strongly advised to use error logging in place of error displaying on production web sites.
PHP7 generally comes with it set to off by default, but PHP5.x it tends to be ON, unless the host has had the good sense to switch it off and instead enable error logging.