PHP Fatal Error in getSourceData function

Created on 26 August 2024, 4 months ago

Problem/Motivation

After updating to migrate_plus 6.0.4 there is an php error with the function declaration getSourceData.

PHP Fatal error: Declaration of Drupal\migrate_youtube\Plugin\migrate_plus\data_parser\YoutubeApiJson::getSourceData(string $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/platforme-mediation/drupal/www/modules/contrib/migrate_youtube/src/Plugin/migrate_plus/data_parser/YoutubeApiJson.php on line 71

Steps to reproduce

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇬🇷Greece smavri

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024