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.
Deprecated method entityManager
Comment | File | Size | Author |
---|---|---|---|
#7 | deprecated_method-2865189-7.patch | 720 bytes | tassilogroeper |
| |||
#2 | deprecated_method_entitymanager-2865189-2.patch | 707 bytes | alex_optim |
|
Comments
Comment #2
alex_optimComment #4
jrockowitz CreditAttribution: jrockowitz as a volunteer commentedComment #5
yobottehg CreditAttribution: yobottehg commentedThe method does not exist on entityTypeManager, Head is currently broken.
This should at least be reverted.
Comment #6
jrockowitz CreditAttribution: jrockowitz as a volunteer commentedDone! @see http://cgit.drupalcode.org/block_field/commit/?id=bbbad36
Comment #7
tassilogroeper CreditAttribution: tassilogroeper at WONDROUS commentedHi,
I just ran into this again. Sorry to see this bug still in the main Branch :(
so here is the patch. Since the `loadEntityByUuid` has moved to the `EntityRepository` we need to fetch the service just in place there.
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Entity%21...
Comment #8
tassilogroeper CreditAttribution: tassilogroeper at WONDROUS commentedComment #9
bdanin CreditAttribution: bdanin commentedconfirmed that #7 fixes the PHP fatal error.
Comment #10
berdyshev CreditAttribution: berdyshev at AMgrade commented#7 works with latest dev version and fixes deprecation notice
Comment #12
acbramley CreditAttribution: acbramley at PreviousNext for Transport for NSW commentedThanks! Tagging 8.x-1.0-alpha5 for this fix.