0
Welcome Guest! Login
0 items Join Now

RokAjaxSearch - Invalid argument supplied for foreach()

    • rafael.r's Avatar
    • rafael.r
    • Sr. Rocketeer
    • Posts: 162
    • Thanks: 0

    RokAjaxSearch - Invalid argument supplied for foreach()

    Posted 15 years 5 months ago
    • Hi...

      When selecting ''View All Search Results'' (=Veja todos os Resultados) in RokAjaxSearch Module or clicking in any tag in the tag cloud at the page bottom the following message will be printed


      Warning: Invalid argument supplied for foreach() in /home/rafaelgaldini/juruaonline.com.br/plugins/search/cptags.php on line 109


      However, the search results is shown ok. So, what is wrong and how do I eliminate that message?
    • Last Edit: 15 years 5 months ago by rafael.r.
    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Re: RokAjaxSearch - Invalid argument supplied for foreach()

    Posted 15 years 5 months ago
    • hi rafael,

      which version of joomla and rokajaxsearch are you using?
      do you have a link so we can take a look?

      thanks, kat :)
    • Kat05 / QA Lead & Support / Germany
    • rafael.r's Avatar
    • rafael.r
    • Sr. Rocketeer
    • Posts: 162
    • Thanks: 0

    Re: RokAjaxSearch - Invalid argument supplied for foreach()

    Posted 15 years 5 months ago
    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Re: RokAjaxSearch - Invalid argument supplied for foreach()

    Posted 15 years 5 months ago
    • hi again,

      maybe there is some kind of conflict with this tags plugin that you are using?
      you could try the following to remove that error message:
      go to > site > global configurations > server > error reporting = none

      that wont remove the error itself but maybe the error message itself will not be shown.

      hope it works, kat :)
    • Kat05 / QA Lead & Support / Germany
    • rafael.r's Avatar
    • rafael.r
    • Sr. Rocketeer
    • Posts: 162
    • Thanks: 0

    Re: RokAjaxSearch - Invalid argument supplied for foreach()

    Posted 15 years 5 months ago
    • I did what you suggested but the error message is still being printed.
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: RokAjaxSearch - Invalid argument supplied for foreach()

    Posted 15 years 5 months ago
    • I suggest you talk to the author of cptags (whatever that is) :)
      I did a quick google and it seems that everyone that had an issue also had some form of SEF enabled, can you at least try turning off SEF to see if it makes any difference?
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
    • rafael.r's Avatar
    • rafael.r
    • Sr. Rocketeer
    • Posts: 162
    • Thanks: 0

    Re: RokAjaxSearch - Invalid argument supplied for foreach()

    Posted 15 years 5 months ago
    • Thank you, Prim. I think I can live without cptag, but not without SEF. It is off now and the problem is obviously gone. 8)

Time to create page: 0.072 seconds