Posted by jippie1948 on May 26, 2010 at 6:31pm
14 followers
| Project: | Dashboard |
| Version: | 6.x-2.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | techsoldaten |
| Status: | needs review |
Issue Summary
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,
JanPieter.
Comments
#1
Had the same issue, Clear your theme registry and the problem should be solved.
#2
I did flush the theme registry. Didn't help though.
#3
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.
#4
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.
#5
I too am experiencing this problem.
Tried flushing and whatnot, still the same error.
#6
@arvinsingla: Wot? That is not correct.
M
#7
@arvinsingla - have you actually created any widgets?
M
#8
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 !
#9
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.
#10
@rbaylist
thanks for your patch.
I'm a newbie, can you say how do I apply this patch ?
Thanks.
#11
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.patchIt should apply the patch and add the line it needs in dashboard.module. More info can be found here: http://drupal.org/patch/apply
#12
Testing this today and plan to commit it to the new 2.0-dev branch.
M
#13
I was having this issue on dashboard-6.x-2.x-dev (2010-Jul-11 ), but the patch worked.
#14
I can confirm the same: this patch fixed the problem. Have not reviewed the code.
#15
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.
Best,
M
#16
I still have the problem with version 2.1...
JP
#17
Tested as normal user with some permissions and as superadmin, works like a charm. RTBTC?
#18
@techsoldaten But jippie1948 is correct, it's NOT rolled in 2.1, but the patch is working against 2.1.
#19
Same problem with 2.1
#20
thanks.. after patch.. in 2.1 and clearing the cache.. now it works.
#21
I still have the problem with version 2.1...
#22
Mine was fixed after applying the patch listed in #9 and #11.
#23
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