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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

TreeDropDownField Error (php Notice)

Go to End



Community Member, 126 Posts

1 May 2008 at 7:34am

Edited: 01/05/2008 7:36am

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