Search builder (NOT search kit) - Contribution search uses deprecated function CRM_Core_BAO_Query::getFieldName
- Search - Search Builder (not Search kit)
- Do a contribution search. Let's say for Financial Type = Donation.
- User deprecated function: Deprecated function CRM_Core_BAO_Query::getFieldName, use These parameters should be standardised before we get here. in CRM_Core_Error::deprecatedWarning() (line 1053 of /srv/buildkit/build/dmaster/web/sites/all/modules/civicrm/CRM/Core/Error.php).
- The way deprecatedWarning works it loses the backtrace, but if you trace it it looks like this:
2 ...\CRM\Core\BAO\Query.php(97): CRM_Core_Error::deprecatedFunctionWarning("These parameters should be standardised before we get here")
3 ...\CRM\Contribute\BAO\Query.php(140): CRM_Core_BAO_Query::getFieldName((Array:5))
4 ...\CRM\Contribute\BAO\Query.php(114): CRM_Contribute_BAO_Query::whereClauseSingle((Array:5), Object(CRM_Contact_BAO_Query))
5 ...\CRM\Core\Component.php(284): CRM_Contribute_BAO_Query::where(Object(CRM_Contact_BAO_Query))
6 ...\CRM\Contact\BAO\Query.php(2061): CRM_Core_Component::alterQuery(Object(CRM_Contact_BAO_Query), "where")
7 \CRM\Contact\BAO\Query.php(574): CRM_Contact_BAO_Query->whereClause(FALSE)
8 ...\CRM\Contact\BAO\Query.php(523): CRM_Contact_BAO_Query->initialize(NULL)
9 ...\CRM\Contact\Selector.php(218): CRM_Contact_BAO_Query->__construct((Array:1), (Array:4), (Array:114), FALSE, FALSE, 1, FALSE, FALSE, FALSE, NULL, (Array:3))
10 ...\CRM\Contact\Form\Search.php(829): CRM_Contact_Selector->__construct(NULL, (Array:8), (Array:1), (Array:4), 8192, FALSE, FALSE, "builder", (Array:11))
11 ...\CRM\Contact\Form\Search\Builder.php(399): CRM_Contact_Form_Search->postProcess()
12 ...\CRM\Core\Form.php(513): CRM_Contact_Form_Search_Builder->postProcess()