Reviewed & tested by the community
Project:
File Entity Paths
Version:
7.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 May 2013 at 13:34 UTC
Updated:
10 May 2018 at 20:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mxtUpgrading to latest DEV version the issue disappear.
Comment #2
juahoo commented#1 worked for me, thanks MXT.
Comment #3
dddbbb commented#1 worked for me too.
Comment #4
durum commentedFor the record, I got this error only when I tried to grant a user new role.
#1 prevents the error but breaks the functionality of the module.
Comment #5
durum commentedMore specifically, in my case, the WSOD is seen when a user edit form or the batch user edit form under
admin/peopleis submitted. And the changes are not saved.Comment #6
durum commentedThis is probably that forms have a profile picture field and they are empty on form submission which are not handled in the code. So it shouldn't be a big deal.
I changed the line 148 of fe_paths.module from
if (isset($entity_info['entity keys']['bundle'])) {to
if (isset($entity_info['entity keys']['bundle']) && isset($entity->{$entity_info['entity keys']['bundle']})) {Saves the moment.
Comment #7
brenk28 commentedHere is the change from #6 in a patch.
Comment #8
deviantintegral commentedHere's the same as #7 but not in sites/all/modules, so sites with other directory structures can still apply it.
Comment #9
recrit commentedRe-roll against latest 7.x-2.x
Comment #10
kerby70 commentedRe-roll on 7.x-2.0-alpha3
Comment #11
socialnicheguru commentedComment #12
danielvezaEDIT: Sorry I was a bit loopy yesterday after a long day. This isn't needed.
Comment #13
dave kopecek#10 Fixed this for me.
Comment #14
sgdev commentedThe right patch is #9, because it should be against 7.x-2.x-dev, not the alpha version.
Works as expected.