Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » TreeDropDownField Error (php Notice)

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: 877 Views
  • schellmax
    Community Member
    126 Posts

    TreeDropDownField Error (php Notice) Link to this post

    in the CMS, i keep getting the message:

    Notice: Trying to get property of non-object in C:\xampp\htdocs\silverstripe_behf2\sapphire\forms\TreeDropdownField.php on line 127

    the message suddenly appeared after building some page types and corresponding pages, when clicking on some page of type 'Virtual Page' in the Sitetree (Site Content).
    i did a fresh install, copied my project, rebuilt the database, and again the message appears; this time when clicking on a deleted page (see attached screenshot upload didn't work?).

    for now, i solved the problem setting 'error_reporting(E_ALL ^ E_NOTICE)' in _config.php, but this is pretty ugly.

    i'd appreciate any help on this topic.
    thanks in advance

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.