Jump to:

23364 Posts in 18142 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » DataObjectDecorator error

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

Page: 1
Go to End
Author Topic: 539 Views
  • pjssms
    Avatar
    Community Member
    49 Posts

    DataObjectDecorator error Link to this post

    Hello,

    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

  • inCharge
    Avatar
    Community Member
    102 Posts

    Re: DataObjectDecorator error Link to this post

    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.

    539 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.