Drush CR fails with error: $string ("Array") must be a string.

Created on 20 March 2025, 20 days ago

Problem/Motivation

On Drupal 111.1.4.
Once installed and added to a content type, unable to clear the cache, either through drupal admin or drush.

Steps to reproduce

composer require 'drupal/entity_print:^2.15'

  • added the pdf link to a content type
  • create a new PDF view to remove hte view pdf link from the pdf print
  • update custom theme to include a print.css
  • drush cr fails $string ("Array") must be a string.

I do not have the Drupal core translation modules installed:

  • Configuration Translation
  • Content Translation
  • Interface Translation

Once I removed the content type updates and uninstalled entity_print, drush cr worked once more.

🐛 Bug report
Status

Active

Version

2.15

Component

Code

Created by

🇬🇧United Kingdom ice70

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

Comments & Activities

Production build 0.71.5 2024