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.
With PHP 8, I get these and similar errors:
Return type of MigrateSource::current() should either be compatible with
Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should
be used to temporarily suppress the notice
Return type of MigrateSQLMap::current() should either be compatible with
Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should
be used to temporarily suppress the notice
Comment | File | Size | Author |
---|---|---|---|
#2 | migrate-compatible_return_types-3324432-2.patch | 3.58 KB | Ronino |
Comments
Comment #2
Ronino CreditAttribution: Ronino commentedThis patch fixes the issue for functions I got errors for.
Comment #3
Ronino CreditAttribution: Ronino commentedObviously a dupliate of #3301821: Fix PHP 8.1 compatibility issues. How could I not see this ;-).