Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I get this message for every image:
Notice: Undefined property: stdClass::$content in file_entity_link_file_view()
Probably somehow related to File Entity Link module. But didn't find any usefull info there.
Any ideas???
Comments
Comment #1
edubacco CreditAttribution: edubacco commentedsubscribe
Comment #2
correiadasilva CreditAttribution: correiadasilva commentedsubscribe
Comment #3
ahaus CreditAttribution: ahaus commentedResolved this issue by just commenting line 46 in file_entity_link.module function file_entity_link_file_view
- '#contents' => $file->content['file'],
+ /* '#contents' => $file->content['file'], */
Node Gallery works for me without showing the error message.
I am using this with Meda 1.2 which includes FileEntity 1.2.
Comment #4
zengenuity CreditAttribution: zengenuity commentedThis issue is going to be resolved with 7.x-1.0-beta2, since it no longer requires File Entity Link. I plan to release beta2 this weekend.
Comment #5
zengenuity CreditAttribution: zengenuity commented7.x-1.0-beta2 is waiting to be packaged. It no longer requires File Entity Link, so this issue is resolved. Upgrade, disable File Entity Link module, and it should go away.