acquia_optimize_perform_quick_scan must pass array to AddCssCommand

Created on 29 April 2025, 3 months ago

Problem/Motivation

ResponseText: TypeError: Drupal\Core\Ajax\AddCssCommand::__construct(): Argument #1 ($styles) must be of type array, string given, called in /var/www/html/docroot/modules/contrib/acquia_optimize/acquia_optimize.module on line 379 in Drupal\Core\Ajax\AddCssCommand->__construct() (line 31 of /var/www/html/docroot/core/lib/Drupal/Core/Ajax/AddCssCommand.php)."

Trying to quick scan a node fails due to incorrect constructor

Steps to reproduce

Proposed resolution

http://www.drupal.org/node/3154948

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.1

Component

Code

Created by

🇺🇸United States mglaman WI, USA

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