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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Blog Module /

Discuss the Blog Module.

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

Class 'Widget' not found


Go to End


2 Posts   1841 Views

Avatar
secuaz

Community Member, 24 Posts

16 March 2013 at 6:18am

Edited: 16/03/2013 6:19am

Hello I don't know if anybody has had problems in SS3 when adding members in the admin system.
When I add members i get an error:

[15-Mar-2013 17:12:20] PHP Fatal error: Class 'Widget' not found in /var/www/prjecttitle.co.uk/silverstripe-blog/code/widgets/BlogManagementWidget.php on line 6

After reloading, the new member shows up but when clicked on to edit the error comes up again.
My blog works just fine, I don't understand why it errors.

Thanks in advance,

secuaz

Avatar
swaiba

Forum Moderator, 1899 Posts

16 March 2013 at 6:24am

Hi secuaz,

Welcome to the forums!

Widgets are no longer core code, you need another module now... http://www.silverstripe.org/widgets-module/