Upgrading from 8.1-1.1 to 8.1-1.2

Created on 17 November 2022, over 2 years ago
Updated 26 November 2024, 9 months ago

Problem/Motivation

Upgrading from 8.1-1.1 to 8.1-1.2 broke my site.
Downgrading to 8.1.1.1 restored the site.

Steps to reproduce

I am using php 8.1 and drupal version 9.4.8
Using composer to upgrade I could no longer access the site which reported "an unexpected error".
After reverting to 8.1-1.1 using composer I found the following warnings and errors at about the time of the update:
php:
Warning: Undefined array key "card_type" in Drupal\layout_builder\Plugin\Derivative\FieldBlockDeriver->getDerivativeDefinitions() (line 102 of web/core/modules/layout_builder/src/Plugin/Derivative/FieldBlockDeriver.php)
and php
Error: Call to a member function getLabel() on null in Drupal\layout_builder\Plugin\Derivative\FieldBlockDeriver->getDerivativeDefinitions() (line 113 of web/core/modules/layout_builder/src/Plugin/Derivative/FieldBlockDeriver.php)

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

User experience

Created by

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