Call to a member function get() on string

Created on 28 March 2023, over 1 year ago
Updated 1 May 2023, over 1 year ago

Problem/Motivation

Getting errors like this,

[error]  Drush command terminated abnormally due to an unrecoverable error.
Error: Uncaught Error: Call to a member function get() on string in /var/www/html/docroot/modules/contrib/acquia_search/src/EventSubscriber/PossibleCores/AcquiaHosting.php:53
Stack trace:
#0 /var/www/html/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php(259): Drupal\acquia_search\EventSubscriber\PossibleCores\AcquiaHosting->__construct()
#1 /var/www/html/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php(173): Drupal\Component\DependencyInjection\Container->createService()
#2 /var/www/html/docroot/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(105): Drupal\Component\DependencyInjection\Container->get()
#3 /var/www/html/docroot/modules/contrib/acquia_search/src/PreferredCoreService.php(197): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
#4 /var/www/html/docroot/modules/contrib/acquia_search/src/PreferredCoreService.php(160): Drupal\acquia_search\PreferredCoreService->getListOfPossibleCores()
#5 /var/www/html/docroot/modules/ in /var/www/html/docroot/modules/contrib/acquia_search/src/EventSubscriber/PossibleCores/AcquiaHosting.php, line 53
🐛 Bug report
Status

Fixed

Version

3.1

Component

Code

Created by

🇵🇷Puerto Rico rubenvarela

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.71.5 2024