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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sanduhrs created an issue. See original summary.

sanduhrs’s picture

  • sanduhrs committed d0e101d on 8.x-1.x
    Issue #2681293: Error: Call to a member function getFileUri() on null
    
sanduhrs’s picture

Removed the toggle box, that was legacy code.
Fixed the import via dropdown.
Thanks.

sanduhrs’s picture

Status: Active » Closed (fixed)

I think this has been fixed.