Error running drush fsasum

Created on 17 August 2024, 3 months ago
Updated 19 August 2024, 3 months ago

Problem/Motivation

$ drush fsasum
 [warning] Attempt to read property "number" on string FsaFastly.php:316
 [error]  TypeError: array_filter(): Argument #1 ($array) must be of type array, stdClass given in array_filter() (line 271 of /app/web/modules/contrib/fsa/modules/fastly_streamline_access_admin/src/Drush/Commands/FsaAdminCommands.php) #0 /app/web/modules/contrib/fsa/modules/fastly_streamline_access_admin/src/Drush/Commands/FsaAdminCommands.php(271): array_filter()
#1 /app/web/modules/contrib/fsa/modules/fastly_streamline_access_admin/src/Drush/Commands/FsaAdminCommands.php(104): Drupal\fastly_streamline_access_admin\Drush\Commands\FsaAdminCommands->getFsaAcls()
#2 [internal function]: Drupal\fastly_streamline_access_admin\Drush\Commands\FsaAdminCommands->summarizeAcl()
#3 /app/vendor/consolidation/annotated-command/src/CommandProcessor.php(276): call_user_func_array()
#4 /app/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback()
#5 /app/vendor/consolidation/annotated-command/src/CommandProcessor.php(175): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter()
#6 /app/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(387): Consolidation\AnnotatedCommand\CommandProcessor->process()
#7 /app/vendor/symfony/console/Command/Command.php(326): Consolidation\AnnotatedCommand\AnnotatedCommand->execute()
#8 /app/vendor/symfony/console/Application.php(1096): Symfony\Component\Console\Command\Command->run()
#9 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand()
#10 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun()
#11 /app/vendor/drush/drush/src/Runtime/Runtime.php(110): Symfony\Component\Console\Application->run()
#12 /app/vendor/drush/drush/src/Runtime/Runtime.php(40): Drush\Runtime\Runtime->doRun()
#13 /app/vendor/drush/drush/drush.php(139): Drush\Runtime\Runtime->run()
#14 /app/vendor/drush/drush/drush(4): require('...')
#15 /app/vendor/bin/drush(119): include('...')
#16 {main}. 

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.8

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dysproseum

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