Bug #3962
closedSearching with an area selected on J3.0 causes fatal error
Description
When selecting the checkbox next to "Users" and performing a search the below error is thrown.
Warning: in_array() expects parameter 2 to be array, string given in plugins\search\cbsearchbot\cbsearchbot.php on line 57
Either the $area variable isn't used anymore or is of different type now (not array anymore?).
Updated by krileon about 11 years ago
Either Joomla is broken or a 3rd party plugin is breaking the areas usage as the variable outputs as "string 'Array'", which is not correct.
Updated by krileon about 11 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
This is a known Joomla bug.
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=29607
However, implemented a check to ensure the variable is an array to avoid the error from occurring and allowing search to continue to work. Note you still won't be able to use the "Search Only" as it's bugged in Joomla.