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.
Fatal error: Call to a member function getFieldStorageDefinition() on null in
/var/www/d8/public/core/modules/field_ui/src/Form/FieldStorageConfigEditForm.php on line 37
To reproduce navigate to the path bellow (replace field_foo with any non-existent field)
admin/structure/types/manage/article/fields/node.article.field_foo/storage
Comment | File | Size | Author |
---|---|---|---|
#2 | fatal_error_call_to_a-2586047-2.patch | 1.89 KB | willzyx |
#2 | fatal_error_call_to_a-2586047-2-test-only.patch | 898 bytes | willzyx |
Comments
Comment #2
willzyx CreditAttribution: willzyx commentedCan something like the solution in the attached patch be a viable solution?
Comment #3
willzyx CreditAttribution: willzyx commentedComment #5
amateescu CreditAttribution: amateescu for Pfizer, Inc. commentedLooks great to me, nice find :)
Comment #7
alexpottCommitted eb0a219 and pushed to 8.0.x and 8.1.x. Thanks!
Comment #11
patrick.thurmond@gmail.comThis problem is definitely not fixed. I created a custom entity type using the Drupal console wizard tool and when I try to view or edit I get this ridiculous error even though every time I use xdebug I see a fully fledged class, not a null value.
Regardless this problem is not resolved and needs to be. I will see what I can do to fix this.