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.

Customising the CMS /

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

[User Error] Bad class to singleton() - ConfigPage? GET /?flush=1


Go to End


2163 Views

Avatar
BangMan

Community Member, 7 Posts

9 April 2009 at 10:24pm

Hello! Sorry for my english, I'm from Belarus. I created its type of the page "ConfigPage?", as it was described here: http://webxadmin.net/silverstripe-tutorials/. I have understood, what create its own check and I have wanted to delete type of the page "ConfigPage?". When I have deleted file mysite/code/ConfigPage.php and has tried to execute request /db/build?flush=1, I have seen this error:

[User Error] Bad class to singleton() - ConfigPage? GET /?flush=1

Line 263 in Z:\home\flower-studio\www\sapphire\core\Core.php