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.

CommentFileSizeAuthor
#9 dashboard-6.x.2.x-dev-patch.patch739 bytesrbayliss
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

arvinsingla’s picture

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

jippie1948’s picture

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

arvinsingla’s picture

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.

Ayesh’s picture

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.

00110000’s picture

I too am experiencing this problem.

Tried flushing and whatnot, still the same error.

Anonymous’s picture

@arvinsingla: Wot? That is not correct.

M

Anonymous’s picture

Assigned: Unassigned »

@arvinsingla - have you actually created any widgets?

M

Ayesh’s picture

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 !

rbayliss’s picture

Status: Active » Needs review
FileSize
739 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.

Ayesh’s picture

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

Thanks.

rbayliss’s picture

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

Anonymous’s picture

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

M

timmillwood’s picture

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

rickvug’s picture

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

Anonymous’s picture

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

jippie1948’s picture

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

I still have the problem with version 2.1...

JP

Rob C’s picture

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

Rob C’s picture

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

sandino’s picture

Same problem with 2.1

hedac’s picture

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

JohnGu’s picture

I still have the problem with version 2.1...

markp2000’s picture

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

ggevalt’s picture

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

polluxmr2’s picture

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.

polluxmr2’s picture

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

ggevalt’s picture

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

plopesc’s picture

Assigned: » agentrickard
Issue summary: View changes
Status: Needs review » Closed (won't fix)