- This topic has 3 replies, 2 voices, and was last updated 11 years, 9 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 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 › Getting Warning: Invalid Argument supplied for foreach()
Tagged: Warning error message
Hi There,
I am currently using
echo do_shortcode(‘[searchandfilter id=”933″]’) to present a search options on the top area of my site.
I am only getting the error in my wp-login.php page when trying to login or when i log-out.
Warning: Invalid argument supplied for foreach() in /**root**/wp-content/plugins/search-filter-pro/public/includes/class-search-filter-display-shortcode.php on line 118
Hey Bernard
Do you have a link I could look at? (and login details if possible?)
It seems like the shortcode is being loaded on your login pages
Thanks