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.

Upgrading SilverStripe

Ask questions about upgrading SilverStripe to the latest version.

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

admin/assets fails - trying to get property of non-object


Reply

3 Posts   1731 Views

Avatar
Bruce B

5 March 2009 at 12:31pm (Last edited: 6 March 2009 9:30am), Community Member, 145 Posts

Trying to open 'Files & images' fails with an error:
[Notice] Trying to get property of non-object
GET /admin/assets/
Line 432 in /Users/macbookbruce/silverstripe/sapphire/filesystem/Folder.php

Its possible this is triggered by replacing/adding images directly into the assets folder instead of going through the CMS but this was OK in 2.2.3.

I'll log a ticket as well

Avatar
Bruce B

6 March 2009 at 9:31am Community Member, 145 Posts

This happens on my local machine as well as my live site. Is there a log file somewhere that will give me more info? eg The name of the non-object?

Avatar
Bruce B

6 March 2009 at 2:45pm Community Member, 145 Posts

It now works again after editing one of the sapphire files. Have I fixed a bug? Bypassed something significant that will bite me later? Who knows! See ticket #3664 for more details:
http://open.silverstripe.com/ticket/3664