Jump to:

5453 Posts in 1674 Topics by 1198 members

Customising the CMS

SilverStripe Forums » Customising the CMS » [User Error] Bad RecordClassName '' and $baseClass not set

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

Page: 1
Go to End
Author Topic: 1397 Views
  • Alex S
    Avatar
    Community Member
    30 Posts

    [User Error] Bad RecordClassName '' and $baseClass not set Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: [User Error] Bad RecordClassName '' and $baseClass not set Link to this post

    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.

    1397 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.