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:

Customising the CMS /

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

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


Go to End


1747 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