ArgumentCountError: Too few arguments to function CiviCRM_API3_Exception...
Full message:
ArgumentCountError: Too few arguments to function CiviCRM_API3_Exception::__construct(), 1 passed in [drupal root]/sites/all/modules/civicrm/Civi/API/Api3SelectQuery.php on line 130 and at least 2 expected in CiviCRM_API3_Exception->__construct()
I'm assuming the new \CiviCRM_API3_Exception(
call has escaped the author when fixing all new CiviCRM_API3_Exception(
occurrences after the signature change.
Seems to affect 5.7.2
and later.
I'll post a PR right away.