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.
Error: Call to a member function getFileUri() on null in Drupal\image\Plugin\Field\FieldType\ImageItem->preSave() (line 321 of /srv/www/drupal/public_html/core/modules/image/src/Plugin/Field/FieldType/ImageItem.php).
Using the following:
OAuth Server on Drupal7 (https://www.drupal.org/project/oauth2_server )Using latest Drupal8 version of openid_connect (from here).
OpenidConnect is set to have the picture from the picture dropdown.
Note: People can still import profile pictures with the toggle box.
– https://github.com/sanduhrs/drupal-openid_connect/issues/7
Comment | File | Size | Author |
---|---|---|---|
#2 | 2681293-2-error-call-to-member-function-getFileUri-on-null.patch | 4.2 KB | sanduhrs |
Comments
Comment #2
sanduhrsPatch attached.
Comment #4
sanduhrsRemoved the toggle box, that was legacy code.
Fixed the import via dropdown.
Thanks.
Comment #5
sanduhrsI think this has been fixed.