Page 1 of 1

Quicksearch - error in s9y 1.4beta2

Posted: Tue Dec 16, 2008 3:20 pm
by Don Chambers
The quicksearch plugin does not have any configuration options. In 1.4, every sidebar plugin has an edit link on the frontend for logged in users. This includes the quicksearch plugin.

Clicking on that link produces this error for the quicksearch plugin:

Code: Select all

Warning: Invalid argument supplied for foreach() in \mypath\include\functions_plugins_admin.inc.php on line 378

Re: Quicksearch - error in s9y 1.4beta2

Posted: Tue Dec 16, 2008 4:13 pm
by garvinhicking
Hi!

Yeah..querying if a plugin does have config options would have a huge impact on the performance of the whole loop. Since 90% of all plugins have config options, I'd actually like to leave it at that.

I'll simply get rid of this error message when a plugin has no config options, thank you!

Regards,
Garvin

Posted: Tue Dec 16, 2008 5:28 pm
by Don Chambers
Sounds like a good idea. Thanks Garvin.