Closed (fixed)
Project:
Admin
Version:
6.x-1.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Nov 2009 at 10:09 UTC
Updated:
1 Aug 2010 at 10:30 UTC
Jump to comment: Most recent
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
Comment #1
bryanhirsch commentedI have the same problem.
Here's the strange thing, Clean URLs are enabled. But /?q=admin makes the error go away.
Comment #2
avolve commentedHave installed admin module on a site and have this error as well
Comment #3
Anonymous (not verified) commentedSame here...
Comment #4
laurentchardin commentedin 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.
Comment #5
laurentchardin commented$tabs is null as well.
looks like the theme is not properly loaded
Comment #6
laurentchardin commentedOk.. you got to remove all files before installing the module update. This fixed it for me.
Comment #7
daltonparsons commented#6: What do you mean by ''remove all files"?
Comment #8
sepla commentedSame here as well. subscribing.
Comment #9
ceege111 commentedHere too. subscribing
Comment #10
mokko commentedBy 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.