Project

General

Profile

Actions

Bug #3962

closed

Searching with an area selected on J3.0 causes fatal error

Added by krileon about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
08 April 2013
Due date:
% Done:

100%

Estimated time:

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?).

https://www.joomlapolis.com/forum/153-professional-member-support/220604-search-plugin-for-users-work-with-j3-yet

Actions #1

Updated by krileon about 11 years ago

  • Target version set to 1.0.3
Actions #2

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.

Actions #3

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.

Actions #4

Updated by krileon about 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF