Avoid Event Listeners

sbhadauria
@sbhadauria
10 years ago
129 posts
How to avoid all event listeners in jamroom query for e.g.
$_qry = array(
"search" => $search,
"order_by" => $order,
"pagebreak" => 5,
"page" => $_pagenum,
);
updated by @sbhadauria: 08/22/14 09:42:05AM
paul
@paul
10 years ago
4,332 posts
'skip_triggers' => true

Is that what you are after?


--
Paul Asher - JR Developer and System Import Specialist
sbhadauria
@sbhadauria
10 years ago
129 posts
actually I am getting error in activity log regarding jrFollower module when I am not logged in:

invalid search criteria in jrCore_db_search_items parameters:
Below is the log details,

Array ( [0] => jrFollower [1] => Array ( [search] => Array ( [0] => _user_id = [1] => follow_profile_id = 1 ) [exclude_jrUser_keys] => 1 [exclude_jrProfile_keys] => 1 [privacy_check] => [limit] => 1 [module] => jrFollower ) )
paul
@paul
10 years ago
4,332 posts
What skin are you using?
What page view generates this error?


--
Paul Asher - JR Developer and System Import Specialist
brian
@brian
10 years ago
10,148 posts
You have a bad search condition:

_user_id =

It has to equal "something"... find where that search is happening and it can be fixed (check the debug entry in the Activity Log).

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags