Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#9 | dashboard-6.x.2.x-dev-patch.patch | 739 bytes | rbayliss |
Comments
Comment #1
arvinsingla CreditAttribution: arvinsingla commentedHad the same issue, Clear your theme registry and the problem should be solved.
Comment #2
jippie1948 CreditAttribution: jippie1948 commentedI did flush the theme registry. Didn't help though.
Comment #3
arvinsingla CreditAttribution: arvinsingla commentedIt 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.
Comment #4
Ayesh CreditAttribution: Ayesh commentedI got the same error in aqua themes(plus Skinr and Fusion core)
I also cleared the registry. It seems that I'm still unlucky.
Comment #5
00110000 CreditAttribution: 00110000 commentedI too am experiencing this problem.
Tried flushing and whatnot, still the same error.
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commented@arvinsingla: Wot? That is not correct.
M
Comment #7
Anonymous (not verified) CreditAttribution: Anonymous commented@arvinsingla - have you actually created any widgets?
M
Comment #8
Ayesh CreditAttribution: Ayesh commentedGuys, 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 !
Comment #9
rbayliss CreditAttribution: rbayliss commentedI 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.
Comment #10
Ayesh CreditAttribution: Ayesh commented@rbaylist
thanks for your patch.
I'm a newbie, can you say how do I apply this patch ?
Thanks.
Comment #11
rbayliss CreditAttribution: rbayliss commentedYes. 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
Comment #12
Anonymous (not verified) CreditAttribution: Anonymous commentedTesting this today and plan to commit it to the new 2.0-dev branch.
M
Comment #13
timmillwoodI was having this issue on dashboard-6.x-2.x-dev (2010-Jul-11 ), but the patch worked.
Comment #14
rickvug CreditAttribution: rickvug commentedI can confirm the same: this patch fixed the problem. Have not reviewed the code.
Comment #15
Anonymous (not verified) CreditAttribution: Anonymous commentedSorry 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
Comment #16
jippie1948 CreditAttribution: jippie1948 commentedI still have the problem with version 2.1...
JP
Comment #17
Rob C CreditAttribution: Rob C commentedTested as normal user with some permissions and as superadmin, works like a charm. RTBTC?
Comment #18
Rob C CreditAttribution: Rob C commented@techsoldaten But jippie1948 is correct, it's NOT rolled in 2.1, but the patch is working against 2.1.
Comment #19
sandino CreditAttribution: sandino commentedSame problem with 2.1
Comment #20
hedac CreditAttribution: hedac commentedthanks.. after patch.. in 2.1 and clearing the cache.. now it works.
Comment #21
JohnGu CreditAttribution: JohnGu commentedI still have the problem with version 2.1...
Comment #22
markp2000 CreditAttribution: markp2000 commentedMine was fixed after applying the patch listed in #9 and #11.
Comment #23
ggevalt CreditAttribution: ggevalt commentedGotta 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
Comment #24
polluxmr2 CreditAttribution: polluxmr2 commentedi 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.
Comment #25
polluxmr2 CreditAttribution: polluxmr2 commentedalso, this module requires clean URLs be enabled but it doesn't state that or complain when installed. just an FYI.
Comment #26
ggevalt CreditAttribution: ggevalt commentedThis module does not seem as though it is maintained.These errors have been reported now for three years. We give up.
g
Comment #27
plopesc