Paragraph can't be added when using PHP +8.1 and Claro theme

Created on 10 November 2022, about 2 years ago
Updated 23 January 2023, almost 2 years ago

I have installed PHP 8.1.1 and Claro theme. My paragraph is not selected by default so when I try to add the paragraph, nothing happens. On the error log I see this message:

TypeError: Cannot access offset of type string on string in claro_preprocess_field_multiple_value_form() (line 916 of /web/core/themes/claro/claro.theme)

I suppose it can be cause of WSOD when the paragraph is pre-selected.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine lobodacyril

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