Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Error after upgrading to newest version

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 982 Views
  • xcellent
    Avatar
    Community Member
    2 Posts

    Error after upgrading to newest version Link to this post

    Hi!

    I have a strange error after upgrading from 2.2.1 to 2.2.2
    I get following error message at the top of the webiste:

    Notice: Debug::sendLiveErrorsTo() is deprecated. Use Debug::send_errors_to() instead. in /home/xcellent-seminare/public_html/sapphire/core/Debug.php on line 254

    Any idea what this could be?

    Thanks,
    Robin

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Error after upgrading to newest version Link to this post

    Its exactly like what it says you have used sendLiveErrorsTo() in your code but it is now deprecated - you need to change it to use send_errors_to().

    This is normally keep in the mysite/_config.php file so have a look in there for it! Otherwise do a search on the whole project!

  • xcellent
    Avatar
    Community Member
    2 Posts

    Re: Error after upgrading to newest version Link to this post

    embarrassing :-D

    this solved it, thank you very much

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