Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We are getting the error "Theme hook user_message_toolbar_tab not found." on every page load with the dev release from Dec 14. The toolbar menu works fine otherwise and though user messages is active and referenced in toolbar.api.php we are getting this exception.
We are also using admin_toolbar-8.x-1.14 and the tested core is 8.0.3.
Could this be a module weight issue?
Comment | File | Size | Author |
---|---|---|---|
#5 | theme_hook-2670608-5.patch | 446 bytes | grahl |
Comments
Comment #2
grahlComment #3
e0ipsoI may be missing the point why this is an issue with environment indicator. Does this only happen when the EI is enabled?
Comment #4
grahlSorry that wasn't obvious. Yes, the problem only occurs when environment indicator is active and disappears upon uninstalling. Also, apart from Core, environment indicator is the only item in our code base referencing that theme hook:
Comment #5
grahlHi
I looked at this issue again and it seems that the theme function copied from toolbar.api.php isn't actually needed or required. The following removes it and we don't see the error anymore and can use EI.
Comment #7
e0ipsoThanks for your contribution @grahl!
This has been committed an pushed.