Hi, we need to share user table accross multi site installation.
But - we can't share the managed files table. Therefor, if we create a view on the sub-page which contains the user picture, we receive the following notice:
Notice: Trying to get property of non-object in views_handler_field_user_picture->render() (line 82 of /mnt/www/html/docroot/sites/all/modules/contrib/views/modules/user/views_handler_field_user_picture.inc).
Node module can handle the situation - but views not. To fix this, we need to change some code in views/modules/user/views_handler_field_user_picture.inc
As this has NO sideeffects - can this be commited?
Comments
Comment #2
Neo13 commentedI ran into a similar problem with user pictures too. The patch applied without problems and fixed the issue. If there are no issues this should be commited.
Comment #3
wfragakis commentedThis patch solved our error messages. Is there a suggestion on how to find which images may have been causing the issue? We're trying to sort out a purchased theme and migrate it to an existing site.
Comment #4
introfini commentedThis patch also fixed our errors of that type.
Comment #5
damienmckennaComment #7
damienmckennaCommitted. Thank you all.