Created on 3 May 2022, about 2 years ago
Updated 10 June 2024, 19 days ago

Some dev environments have strict error rules. The lines below throw a 500 page with our default Lando, Lagoon, Docker setup

Please see patch.

php_1            | NOTICE: PHP message: TypeError: ksort(): Argument #1 ($array) must be of type array, stdClass given in /app/web/modules/contrib/fsa/src/FsaFastly.php on line 63 #0 /app/web/modules/contrib/fsa/src/FsaFastly.php(63): ksort(Object(stdClass))
php_1            | #1 /app/web/modules/contrib/fsa/src/FsaFastly.php(79): Drupal\fastly_streamline_access\FsaFastly->getServiceVersions()
php_1            | #2 /app/web/modules/contrib/fsa/src/FsaFastly.php(288): Drupal\fastly_streamline_access\FsaFastly->getLatestServiceVersion()
php_1            | #3 /app/web/modules/contrib/fsa/src/EventSubscriber/FsaEventSubscriber.php(146): Drupal\fastly_streamline_access\FsaFastly->getAclList()
php_1            | #4 /app/web/modules/contrib/fsa/src/EventSubscriber/FsaEventSubscriber.php(129): Drupal\fastly_streamline_access\EventSubscriber\FsaEventSubscriber->getAclList()
php_1            | #5 /app/web/modules/contrib/fsa/src/EventSubscriber/FsaEventSubscriber.php(162): Drupal\fastly_streamline_access\EventSubscriber\FsaEventSubscriber->getAclIdForName('fsa')
php_1            | #6 /app/web/modules/contrib/fsa/src/EventSubscriber/FsaEventSubscriber.php(199): Drupal\fastly_streamline_access\EventSubscriber\FsaEventSubscriber->addIpToACL()
php_1            | #7 [internal function]: Drupal\fastly_streamline_access\EventSubscriber\FsaEventSubscriber->fsaResponse(Object(Drupal\fastly_streamline_access\Event\FsaTriggerEvent), 'fsa_triggered', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
php_1            | #8 /app/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(142): call_user_func(Array, Object(Drupal\fastly_streamline_access\Event\FsaTriggerEvent), 'fsa_triggered', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
php_1            | #9 /app/web/modules/contrib/fsa/fastly_streamline_access.module(45): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Drupal\fastly_streamline_access\Event\FsaTriggerEvent), Object(Drupal\fastly_streamline_access\Event\FsaTriggerEvent))
php_1            | #10 [internal function]: fastly_streamline_access_user_login(Object(Drupal\user\Entity\User))
php_1            | #11 /app/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(403): call_user_func_array('fastly_streamli...', Array)
php_1            | #12 /app/web/core/modules/user/user.module(473): Drupal\Core\Extension\ModuleHandler->invokeAll('user_login', Array)
....
πŸ› Bug report
Status

Fixed

Version

2.7

Component

Code

Created by

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024