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:

Archive /

Our old forums are still available as a read-only archive.

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

Blog module, revision 56104

Go to End

3 Posts   1626 Views


Community Member, 2 Posts

12 June 2008 at 2:16pm

I get the following error when I try to access the BlogHolder page in the CMS Admin page:

woe is me for trying the latest SVN build :p
But I needed the latest SVN build to clean up the formatting of the Blog pages ... otherwise the <br /> tags would make for a messy page.

(i.e., then click on "Blog")

ERROR:Error 256: Bad class to singleton() - NewsletterType
At l85 in /home1/relevanc/public_html/sapphire/core/Core.php
<ul>user_error(Bad class to singleton() - NewsletterType,256)
line 85 of Core.php

line 1569 of DataObject.php

line 66 of BlogHolder.php

line 54 of BlogHolder.php

line 364 of CMSMain.php

line 699 of LeftAndMain.php

line 239 of LeftAndMain.php

line 253 of Controller.php

line 104 of Director.php

line 144 of main.php



Community Member, 2 Posts

12 June 2008 at 3:34pm

OK I fixed it by checking out the newsletter module

svn co newsletter

in my webroot.

Maybe we should make it obvious that the newsletter module is a dependency?

Or maybe it's because of my unusual setup, since I'm not using a tarball distribution.


Forum Moderator, 5523 Posts

12 June 2008 at 6:25pm

Are you using the trunk version of the CMS as well? The newsletter module was part of the core but has recently been ripped out to a seperate module, so the blog module just needs to be updated to check for the newsletter module before trying to use it, this is probably the same with the Forum module which I think uses newsletters as well.

These modules will be updated soon hopefully