Jump to:

794 Posts in 409 Topics by 304 members

Widgets

SilverStripe Forums » Widgets » 2.3.1 - Bad widget class: NoWidgets

Discuss SilverStripe Widgets.

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

Page: 1
Go to End
Author Topic: 1140 Views
  • PhilG
    Avatar
    Community Member
    2 Posts

    2.3.1 - Bad widget class: NoWidgets Link to this post

    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.

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: 2.3.1 - Bad widget class: NoWidgets Link to this post

    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

    1140 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.