Hello,

I have been trying to resolve this problem - 'Fatal error: Call to undefined function Drupal\file\Plugin\Field\FieldType\file_default_scheme() in
home/firstbz/public_html/core/modules/file/src/Plugin/Field/FieldType/FileItem.php on line 39.
I have a D8 install and using an Omni-drupal theme. Incidentally the error displays on most other browser on clicking the links to frontpage but not other pages (without slider). Recently updated core installation to 8.32 so wonder if this is a factor. Waiting for other ideas before making major changes.
As a 'newbie' realise I may be missing something. No indication of plugin module issues as far as I know.
Any help would be appreciated.

Comments

Maplinx’s picture

Just to say problem now resolved by rolling back to previous D8.3.1 core. Also realised I had updated drupal from 8.3.0 to 8.3.2 which may be reason for my fatal error on updating slider button links.
Lesson learnt - avoid updating more than a step at a time!

byant’s picture

is there a way to make it back without downgrade drupal 8 version?

Thanks

sprite’s picture

If you don't already have the composer utility installed, do so.
Then delete /core, /vendor, and composer.lock and run:

composer.phar install

in the docroot of your site via SSH, which will rebuild your site's code based on the settings on the composer.json file.

The above is the most straightforward way to be sure your site's code is properly configured.

spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...

Maplinx’s picture

Thanks. Will try this approach next time updating core. I have tended to install latest core version via Cpanel file upload and then update composer via SSH (reinstalling dependencies) on composer.json. Your suggestion sounds more sensible.