Hi,
I am having a very strange problem. We are using relevanssi for search, and with a select few search terms, it is causing a 500 error. After much debugging, I have actually traced that error to a function in RoleScoper (weird, I know).
Anyway, the function is marked as the following t the end of role-scoper_main.php:
// equivalent to current_user_can,
// except it supports array of reqd_caps, supports non-current user, and does not support numeric reqd_caps
Can I delete this function? I can't seem to figure out what it does….when I do delete it, the search works perfectly. With this function in rolescoper, it breaks my search.
From what I can tell, this has something to do with front end viewing, which we are not restricting ( we are restricting users in the back end by category).
If this function is needed, is there a reason it woudl conflict with a search?
Thanks