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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

DataObjectDecorator error


2 Posts   579 Views


27 March 2012 at 2:15am Community Member, 49 Posts


I got an error on one of my sites that i can't get over.

Today i tried to upgrade it to version 2.4.7 but the problem remains.

I have deleted the fill sapphire directory and uploaded the new one but i still got this error :

Notice: DataObjectDecorator::extraDBFields() is deprecated. Please use extraStatics() instead. in /home/vendeopr/public_html/sapphire/core/model/DataObjectDecorator.php on line 60

The worst part is that it doesn´t allow to get into the administration area and as so the page is pretty useless.

What do you recommend to rebuild the page from scratch ?.
Wordpress has also a bug when the menus get more than a few dozen links.

Thank you,

Paulo Santos


28 March 2012 at 12:36am Community Member, 102 Posts

I would think upgrading saphire without cms is going to cause problems. Try upgrading both saphire and cms, then do the usual /dev/build/flush=1, flush the cache, clear cookies

Haven't seen that error before though.