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 RecordClassName '' and $baseClass not set


Go to End


2 Posts   2320 Views

Avatar
Alex S

Community Member, 30 Posts

21 August 2010 at 4:37am

Hey,

I encountered the following error while developing my own pages within SS and now I can't get rid of it!

"[User Error] Bad RecordClassName '' and $baseClass not set"

I have reverted to the original page.php file but with no effect. After that I re-instated all of my php pages for the various bits I had developed and still no change. I have a full trace message if anyone wants it. It's only my development box but I wondered if there was a quick fix before I re-installed SS.

Alex

Avatar
Willr

Forum Moderator, 5523 Posts

21 August 2010 at 7:38pm

Have a look at your database for a record with NULL in the classname. If you look at the back trace you should see the table to look at for the null record.