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

Fatal error adding profile on Drupal 8

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      Yes

      Description

      PHP fatal error when adding a profile on Drupal 8:

      PHP message: Error: Call to undefined function menu_rebuild() in /app/vendor/civicrm/civicrm-core/CRM/Core/BAO/UFGroup.php on line 1551 #0 /app/vendor/civicrm/civicrm-core/CRM/UF/Form/Group.php(359)
      

      This is a matter of some Drupal 6/7 code used directly in UFGroup. There's already a good method on CRM_Utils_System_Base that could be used here!

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: