OptionsProviderInterface::class is causing a fatal error

Created on 1 May 2016, over 8 years ago
Updated 18 May 2023, over 1 year ago

When upgrading my site from 8.0.6 to 8.1.0 I got a very strange fatal error:

Notice: Undefined index: field_storage_config in core/modules/field_ui/field_ui.module on line 80

Fatal error: Call to a member function setFormClass() on null in core/modules/field_ui/field_ui.module on line 80

This error appears when I try to run update.php. It also appears if I try rebuild my site using core/rebuild.php, even if I haven't ran update.php yet.

Using a git bisect I was able to narrow it down to the clean-up(!) commit 8aa5797d1700d6230ed6a815b9f83ec90e92c829. The fatal error disappears as soon as I'm switching to the parent commit. If I revert the changes made to FieldStorageConfig.php the fatal error disappears. Somehow the code OptionsProviderInterface::class is breaking my site.

I have no idea what's actually causing that error, but that code seems to be the problem.

πŸ› Bug report
Status

Closed: works as designed

Version

9.5

Component
FieldΒ  β†’

Last updated about 3 hours ago

Created by

πŸ‡ΈπŸ‡ͺSweden JimmyAx

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024