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

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mglaman created an issue. See original summary.

mglaman’s picture

Issue summary: View changes

mglaman’s picture

Status: Active » Needs review
ankitv18’s picture

Status: Needs review » Reviewed & tested by the community

Validated the changes on local and now I'm able to get the Quick Scan result without any browser console error ~~ Hence marking this one RTBC

vipin.mittal18’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.