Page MenuHomePhabricator

Civi: Find Contacts Advanced Search yielding error message
Closed, ResolvedPublic

Description

Since yesterday's upgrade multiple agents are getting the following when using this search:

User deprecated function: Deprecated function CRM_Core_DAO::executeQuery, use calling functions should handle exceptions. in CRM_Core_Error::deprecatedWarning() (line 1053 of /srv/org.wikimedia.civicrm/civicrm/CRM/Core/Error.php).

Event Timeline

@MBeat33 is it preventing the search results from showing up, or just showing a distracting warning message alongside the results?

I just tried & saw that message but got results fine.

What criteria were you using?

@Eileenmcnaughton I think I figured it out, I was searching for my personal email address cid=26220292, and selecting one of the previous searches for it from the dropdown list in the email address field. If I enter just the email address and don't select a previously saved search, I still get the error message, but I do get the correct search result.

I will check with the other agents who got this error to see if their use case is any different.

@MBeat33 ah yes - I recall you've hit that before - it is your browser pre-filling data rather than anything CiviCRM is saving I think from memory

MBeat33 claimed this task.

Thanks, other agents can get results as well, so I'll close this Task