I just installed this and get the following error

warning: Invalid argument supplied for foreach() in /sites/all/modules/admin/theme/admin-toolbar.tpl.php on line 6.
warning: Invalid argument supplied for foreach() in /sites/all/modules/admin/theme/admin-toolbar.tpl.php on line 11.

Oddly enough I have it installed on another site without any problems

Comments

bryanhirsch’s picture

I have the same problem.
Here's the strange thing, Clean URLs are enabled. But /?q=admin makes the error go away.

avolve’s picture

Have installed admin module on a site and have this error as well

Anonymous’s picture

Same here...

laurentchardin’s picture

in admin-toolbar.tpl.php, $blocks is null... shouldn't be.
Showing the toolbar with another theme (in non administration path) works fine.

dunno why it's like that yet.

laurentchardin’s picture

$tabs is null as well.

looks like the theme is not properly loaded

laurentchardin’s picture

Ok.. you got to remove all files before installing the module update. This fixed it for me.

daltonparsons’s picture

#6: What do you mean by ''remove all files"?

sepla’s picture

Same here as well. subscribing.

ceege111’s picture

Here too. subscribing

mokko’s picture

Version: 6.x-1.0-beta3 » 6.x-1.0-beta4
Status: Active » Fixed

By now it's beta4. I had the same issue. Remove the directory sites/all/modules/admin (or whatever you are using) and then install new version of module.

As regular update instruction tell us to. But sometimes we are lazy, aren't we?

Apropos: Laziness. I am not sure if you need to clear caches or run cron after update. It seems that update is not required.

Status: Fixed » Closed (fixed)

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