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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Upgrading SilverStripe /

Ask questions about upgrading SilverStripe to the latest version.

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

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


Go to End


3 Posts   2791 Views

Avatar
Bruce B

Community Member, 164 Posts

5 March 2009 at 12:31pm

Edited: 06/03/2009 9:30am

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

Community Member, 164 Posts

6 March 2009 at 9:31am

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

Community Member, 164 Posts

6 March 2009 at 2:45pm

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