FakerContentDevelGenerate method definitions dont match ContentDevelGenerate

Created on 1 June 2025, 6 days ago

I'm getting an error while generating with drush:

PHP Fatal error: Cannot make non static method Drupal\devel_generate\DevelGenerateBase::populateFields() static in class Drupal\faker\Plugin\DevelGenerate\FakerContentDevelGenerate in /var/www/html/web/modules/contrib/faker/src/Plugin/DevelGenerate/FakerContentDevelGenerate.php on line 53

Fatal error: Cannot make non static method Drupal\devel_generate\DevelGenerateBase::populateFields() static in class Drupal\faker\Plugin\DevelGenerate\FakerContentDevelGenerate in /var/www/html/web/modules/contrib/faker/src/Plugin/DevelGenerate/FakerContentDevelGenerate.php on line 53

Looks like these changes in the parent class need to be carried over:
https://gitlab.com/drupalspoons/devel/-/commit/c59920c38de5b3f4a815dd5ef...

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mortona2k Seattle

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024