Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Notice] Trying to get property of non-object #21

Open
macka601 opened this issue Aug 19, 2014 · 2 comments
Open

[Notice] Trying to get property of non-object #21

macka601 opened this issue Aug 19, 2014 · 2 comments

Comments

@macka601
Copy link

I have Version 3.1.5 of SS installed, and the 1.1 version of the gallery.

I get this error when i add an image and try to edit the caption.

I think that there's no data being returned from the caption query. Original problem line seems to be 369 of GalleryUploadField.php

Any thoughts to what i can do?

@pinkp
Copy link

pinkp commented Oct 11, 2015

I have exactly this issue.. detailed here: http://stackoverflow.com/questions/33066305/silverstripe-3-gallery-module-1-1-editform-error-trying-to-get-property-of-a Do we know why this happens? Or how to resolve it?

@friizu
Copy link

friizu commented Nov 3, 2015

I have same problem, I was able to hide that notice on GalleryUploadField.php i just added
if (isset($joinObj)) on line 372 and end } line 384, but still it would be nice if captions can be added before save, or at least if we can disable edit button before its functional ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants