- @nicob opened merge request.
There actually seem to be two errors with the image upload and path.
First, as described above,
Error: Call to a member function get() on null in Drupal\achievements\Form\AchievementEntityForm->submitForm() (line 228 of modules/contrib/achievements/src/Form/AchievementEntityForm.php).
appears when uploading an image. If setting the path manually, another error occurs due to the usage of deprecated/removes APIs:
Error: Call to undefined method Drupal\Core\File\FileSystem::uriScheme() in Drupal\achievements\Form\AchievementEntityForm->validatePath() (line 209 of modules/contrib/achievements/src/Form/AchievementEntityForm.php)
I submitted a patch (as a merge request) that should fix both issues.
I'd appreciate a review.
- ๐บ๐ธUnited States grasmash
Related changes were made here: https://www.drupal.org/project/achievements/issues/3182487 ๐ Form fails on drupal 9 because of non-existing method Fixed
Is this still an issue?