Since a short time (the new toolbar went in) you can't use admin_menu anymore
because

Call to undefined function shortcut_toolbar_pre_render() in /var/www/d8/core/includes/common.inc on line 5541

is fired, because admin_menu expects this function.

I guess admin_menu should directly use hook_toolbar or something else.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sun’s picture

Status: Active » Fixed
FileSize
1.01 KB

For now, attached patch resolves this issue.

Thanks for reporting, reviewing, and testing! Committed and pushed. A new development snapshot will be available within the next 12 hours.


Please also leave feedback here: #1847370: Why did I install admin_menu in favor of the Toolbar in Drupal 8?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

simg’s picture

Status: Closed (fixed) » Needs review
FileSize
644 bytes

I've had this same issue with the git version of the code. Turns out the #1 patch wasn't fully applied. #1 patch also no longer applies to the git version.

Attached patch re-applies the missing changes.

jibran’s picture

Issue summary: View changes

I have created a fork of admin_menu 8.x-3.x on github. Please help me fix it for Drupal 8
PRs are welcome. https://github.com/jibran/admin_menu

thalles’s picture

Category: Bug report » Support request

This module has been deprecated for Drupal 8.
For Drupal 8: the Admin Toolbar provides an experience similar to admin_menu with the core toolbar.

thalles’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.