When clicking on the user's 'more widgets' button I recieve

warning: Invalid argument supplied for foreach() in .../sites/all/modules/dashboard/templates/dashboard-browse-widgets.tpl.php on line 3.

The theme used is Simply Modern.

Best wishes,


#9 dashboard-6.x.2.x-dev-patch.patch739 bytesrbayliss


Had the same issue, Clear your theme registry and the problem should be solved.

I did flush the theme registry. Didn't help though.

It seems the only way I can get it to work is to keep flush theme registry enabled in devel or zen theme. This is certainly a problem.

I got the same error in aqua themes(plus Skinr and Fusion core)

I also cleared the registry. It seems that I'm still unlucky.

I too am experiencing this problem.

Tried flushing and whatnot, still the same error.

@arvinsingla: Wot? That is not correct.


Assigned:Unassigned» techsoldaten

@arvinsingla - have you actually created any widgets?


Guys, I got figured it out!

First, disable Dashboard, JQeury UI and Ctools modules , and run update.php

then, enable ctools , jqeury UI and Dashboard, in the order I wrote here.

Good luck !

Status:Active» Needs review
new739 bytes

I had issues with this too. Peeking at the theme registry, I'm not seeing the template_preprocess function for dashboard_browse_widgets. Seems to be due to a missing include in hook_theme. Here's a patch.

thanks for your patch.
I'm a newbie, can you say how do I apply this patch ?


Yes. Assuming you are applying it from the terminal, download the patch to your sites/all/modules/dashboard folder, enter the terminal and change directory to that folder. From there, type the command

patch -p0 < dashboard-6.x.2.x-dev-patch.patch

It should apply the patch and add the line it needs in dashboard.module. More info can be found here: http://drupal.org/patch/apply

Testing this today and plan to commit it to the new 2.0-dev branch.


I was having this issue on dashboard-6.x-2.x-dev (2010-Jul-11 ), but the patch worked.

I can confirm the same: this patch fixed the problem. Have not reviewed the code.

Sorry for the radio silence the past few weeks.

Just so everybody knows - we have a fairly large update to Dashboard coming out early next week. Cumulative of issues disucssed in several threads, this will include multiple dashboard support, default dashboard support, various installation problems (including the patch discussed above), and various other features.

I am probably creating a new dev branch for the new release. Look for some traction on this and other issues next week.


Version:6.x-2.0» 6.x-2.1

I still have the problem with version 2.1...


Tested as normal user with some permissions and as superadmin, works like a charm. RTBTC?

@techsoldaten But jippie1948 is correct, it's NOT rolled in 2.1, but the patch is working against 2.1.

Same problem with 2.1

thanks.. after patch.. in 2.1 and clearing the cache.. now it works.

I still have the problem with version 2.1...

Mine was fixed after applying the patch listed in #9 and #11.

Gotta say that after all this time, this is still a problem. Too bad. Would love to have a stable dashboard to use that would serve our purposes. I've spent two hours on this. I installed the .dev version. I disabled all modules alluded to here and then reinstalled. did an update. went to the 2.1 version after uninstalling, clearing cache, etc. no luck. seems very buggy.
Posting here just to let you know this is still a fatal problem. Don't want to dismiss all your hard work, but this module simply doesn't work. similar issue here: http://drupal.org/node/807124

i had the issue described above and did everything suggested above. right before giving up i simply renamed the one default widget and that resolved the issue. not sure if that was the real "solution" or if it just happened to coincide with some cache expiration on my host.

also, this module requires clean URLs be enabled but it doesn't state that or complain when installed. just an FYI.

This module does not seem as though it is maintained.These errors have been reported now for three years. We give up.