Error: Call to undefined method Symfony\Component\Console\Helper\FormatterHelper::strlenWithoutDecoration() in Drupal\site_audit\Renderer\Console->centerText()

Created on 18 October 2024, about 1 month ago

Problem/Motivation

Unable to execute `drush aa` in Drupal 10.3.6.

Steps to reproduce

Execute `drush aa` and the output generates the following:
```
Error: Call to undefined method Symfony\Component\Console\Helper\FormatterHelper::strlenWithoutDecoration() in Drupal\site_audit\Renderer\Console->centerText() (line 94 of modules/contrib/site_audit/src/Renderer/Console.php)
```

Proposed resolution

Make sure strlenWithoutDecoration() is defined or use an alternate method.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

4.1

Component

Code

Created by

🇺🇸United States uberhacker

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024