Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-20973

Call to undefined function Civi\API\civicrm_api3_create_error() in Civi/API/Kernel.php on line 413

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.7.22
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      Civi/API/Kernel.php is in the Civi\API namespace and it's calling civicrm_api3_create_error() with no namespace so it's assumed (by PHP) to be in the same namespace, ie. Civi\API\civicrm_api3_create_error()

      However, it's really at the top-level, ie \civicrm_api3_create_error()

      This is an easy, one character fix

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dsnopek David Snopek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: