Details
-
Type: Task
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.25
-
Fix Version/s: 4.7.30
-
Component/s: Drupal Integration Modules
-
Labels:
-
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!