Reviewed & tested by the community
Project:
Administration menu
Version:
7.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jun 2023 at 13:25 UTC
Updated:
7 Jul 2023 at 10:22 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sgdev commentedThe update in 7.x-3.0-rc7 caused
admin_menu_treeto become a private function.The Admin Menu Source module (https://www.drupal.org/project/admin_menu_source) calls
admin_menu_treein hook_admin_menu_output_alter() to build menus for different roles. By making the function private, admin menu can no longer load for any role with a customized admin menu.Please review the attached patch which reverts
admin_menu_treeto be a public function again. Thanks.Comment #3
szt commentedThanks, it works well!
Comment #4
altrugon commentedPatch on #2 works, thank you. Please apply it.
In my case the error looked like this:
Got error 'PHP message: PHP Fatal error: Call to undefined function admin_menu_tree() in .../modules/contrib/redhen/redhen.module on line 73\n', referer: https://<domain>/user