Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Widgets /

Discuss SilverStripe Widgets.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

2.3.1 - Bad widget class: NoWidgets


Go to End


2 Posts   1646 Views

Avatar
PhilG

Community Member, 2 Posts

5 June 2009 at 7:19am

Edited: 05/06/2009 8:08am

I am attempting to look at a few downloaded widgets - HTML, Pay Pal donation for example. I do the dev/build . .but when I drag a particular widget over to add it to the page, I notice a bad widget class name given error where the widget was located in the list. In looking at my logs I see this error:

Warning at sapphire/widgets/Widget.php line 116: Bad widget class: NoWidgets

Can someone tell me what I am doing? The twitter widgets with the twitter module work fine . but no widget I download from the site seems to work.

Also . .I am trying to enable widgets in a custom page type ..not in blog module.

Avatar
Sean

Forum Moderator, 922 Posts

5 June 2009 at 4:34pm

This is a bug. If there's no used widgets, it tries to call "NoWidgets" from the javascript.

It's been fixed for 2.3, here: http://open.silverstripe.org/changeset/78496