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.

Customising the CMS /

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


Reply


1287 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