This issue occurs only after the latest dev versions of Simple Hierarchical Select and High Performance JavaScript Callback Handler are both installed and the JS module configurations are in place. It doesn't matter which module is installed first. I have posted about this in the SHS issue queue, but haven't yet received a response from the maintainer. https://drupal.org/node/2009568 I am posting here as well since perhaps this ought to be worked on in concert by the parties involved. Thank you.

Comments

svouthi’s picture

To clarify - the conflict is with Administration Menu module, and I am using version 7.x-3.0-rc4.

michielnugter’s picture

Status: Active » Closed (won't fix)

Thanks for reporting the issue svouthi. I tried to reproduce the issue and came up with the following.

The administration menu has a dependency set in it's js callback, the devel module. This caused an error for me and is probably the same on your end. It's actually not the idea to set a contrib module as a dependency in your js hook that isn't a dependency by the module itself, I'll contact the maintainer on this issue.

I have just pushed a small change in this module to improve the error message, it's now also set as a drupal message, showing up the next reload. This should help others debug what's going on.

Mirolim’s picture

I had similar issue after installing JS module, Administration Menu disappeared. Disabling "Cache menu in client-side browser" in Admin Menu settings fixed the problem.

svouthi’s picture

Interesting findings, michielnugter. Thank you for your sleuthing and work, and for taking this up with the Administration Menu module maintainer.

Risha’s picture

Mirolim's advice in post #3 solved my problem with admin menu dissapearing. Thank you!

michielnugter’s picture

I have posted a patch for this at the Administration menu issue queue: #1981308: Call to undefined function field_info_fields() in admin_menu.map.inc on line 111

estoyausente’s picture

I solve it like #3, Disabling Cache menu in client-side browser" in Admin Menu settings .

mmeldrem’s picture

I am using 7.x-3.0-rc4 and #3 also fixed my problem.

kingfisher64’s picture

Issue summary: View changes

#3 worked - thank you.

fransoa’s picture

My admin menu disappeared after moving all my block from secondary to previously empty primary region.
Weird.

#3 solved my issue. Thank you

But to be able to disable "Cache menu in client-side browser" in Admin Menu settings, you must first access these setting.
Simply add /#overlay=%3Fq%3Dadmin%252Fconfig%252Fadministration after your site name in adress bar.

else’s picture

Please, can someone help me?

I disactivated most of the module advagg and after saving I don't have the administration menu anymore. The solution to add /#overlay=%3Fq%3Dadmin%252Fconfig%252Fadministration behind the name of the website doesn't work and there are also a lot of faults:
Notice: Undefined variable: head in include() (../public_html/drupal7/modules/system/html.tpl.php).
Notice: Undefined variable: styles in include() (../public_html/drupal7/modules/system/html.tpl.php).
Notice: Undefined variable: scripts in include() (../public_html/drupal7/modules/system/html.tpl.php).
Notice: Undefined variable: page_top in include() (../public_html/drupal7/modules/system/html.tpl.php).
Notice: Array to string conversion in include() (../public_html/drupal7/modules/system/html.tpl.php).
Notice: Undefined variable: page_bottom in include() (../public_html/drupal7/modules/system/html.tpl.php).

Is there a way to repair?