Forums Forums Search & Filter Pro Invalid argument supplied for foreach()

Viewing 6 posts - 1 through 6 (of 6 total)
  • Anonymous
    #29629

    Hi,
    I have a few search forms working in my clients website. When I first created them, all were working just fine.
    Last week, my client says there are problems.
    One page doesn’t load at all and shows 2 warnings :
    Warning: Invalid argument supplied for foreach()…../plugins/search-filter-pro/public/class-search-filter.php on line 139
    and
    Warning: Cannot modify header information – headers already sent by (output started at /home/newyomesite/new.yogameditationhome.com/wp-content/plugins/search-filter-pro/public/class-search-filter.php:139) in /home/newyomesite/new.yogameditationhome.com/wp-includes/pluggable.php on line 1207
    and on other pages we just get the warning –
    Warning: Invalid argument supplied for foreach()…../plugins/search-filter-pro/public/class-search-filter.php on line 139

    We havn’t made any changes to the forms or the pages.

    Can you help here?
    Thanks,
    Hadas

    Ross Moderator
    #29635

    Sure do you have a link/login details?

    Thanks

    Anonymous
    #29736
    This reply has been marked as private.
    Anonymous
    #29745

    Hi,

    Turned off the “Restricted Site Access” plugin, and all the warnings are gone.
    Which is strange, because “Restricted Site Access” was activated from the start of the work on the project…

    Thanks anyway!

    Ross Moderator
    #29747

    🙂

    Anonymous
    #47082

    I experienced the same behaviour on my local installation as well. Thanks for the tip concerning Restricted Access, that solved it.

Viewing 6 posts - 1 through 6 (of 6 total)