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?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

grahl created an issue. See original summary.

grahl’s picture

Issue summary: View changes
e0ipso’s picture

I may be missing the point why this is an issue with environment indicator. Does this only happen when the EI is enabled?

grahl’s picture

Sorry 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:
references to problematic tab

grahl’s picture

Status: Active » Needs review
FileSize
446 bytes

Hi

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.

  • e0ipso committed 479a2af on 8.x-3.x authored by grahl
    Issue #2670608 by grahl: Theme hook user_message_toolbar_tab not found
    
e0ipso’s picture

Status: Needs review » Fixed

Thanks for your contribution @grahl!

This has been committed an pushed.

Status: Fixed » Closed (fixed)

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