- Issue created by @anaconda777
- 🇨🇷Costa Rica VikSabo
The method getSourceData has a new signature, you need to update your custom module to make it compatible, i.e:
getSourceData($url, string|int $item_selector = '' )
Hi,
After upgrading from 6.0.2 to 6.0.4 "drush migrate:status" and other migrate commands gives this error:
PHP Fatal error: Declaration of Drupal\migrations\Plugin\migrate_plus\data_parser\LocationsJson::getSourceData($url): array must be compatible with Drupal\migrate_plus\Plugin\migrate_plus\data_parser\Json::getSourceData(string $url, string|int $item_selector = '') in /var/www/html/site/web/modules/custom/migrations/src/Plugin/migrate_plus/data_parser/LocationsJson.php on line 20
[warning] Drush command terminated abnormally.
I am on Drupal 10.3
latest drush and php8.3
Active
6.0
Miscellaneous
The method getSourceData has a new signature, you need to update your custom module to make it compatible, i.e:
getSourceData($url, string|int $item_selector = '' )