TypeError: Cannot access offset of type string on string in /app/docroot/modules/contrib/geolocation/src/Plugin/Field/FieldFormatter/GeolocationTokenFormatter.php on line 142 #0 /app/docroot/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php(71): Drupal\geolocation\Plugin\Field\FieldFormatter\GeolocationTokenFormatter->calculateDependencies()
> #1 /app/docroot/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php(89): Drupal\views\Plugin\views\field\EntityField->getPluginDependencies(Object(Drupal\geolocation\Plugin\Field\FieldFormatter\GeolocationTokenFormatter))
> #2 /app/docroot/core/modules/views/src/Plugin/views/field/EntityField.php(1021): Drupal\views\Plugin\views\field\EntityField->calculatePluginDependencies(Object(Drupal\geolocation\Plugin\Field\FieldFormatter\GeolocationTokenFormatter))
> #3 /app/docroot/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php(71): Drupal\views\Plugin\views\field\EntityField->calculateDependencies()
> #4 /app/docroot/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php(89): Drupal\views\Plugin\views\display\DisplayPluginBase->getPluginDependencies(Object(Drupal\geolocation\Plugin\views\field\GeolocationField))
> #5 [internal function]: Drupal\views\Plugin\views\display\DisplayPluginBase->calculatePluginDependencies(Object(Drupal\geolocation\Plugin\views\field\GeolocationField), 23)
> #6 /app/docroot/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(960): array_walk(Array, Array)
> #7 /app/docroot/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php(71): Drupal\views\Plugin\views\display\DisplayPluginBase->calculateDependencies()
> #8 /app/docroot/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php(89): Drupal\Core\Config\Entity\ConfigEntityBase->getPluginDependencies(Object(Drupal\views\Plugin\views\display\DefaultDisplay))
> #9 /app/docroot/core/modules/views/src/Entity/View.php(282): Drupal\Core\Config\Entity\ConfigEntityBase->calculatePluginDependencies(Object(Drupal\views\Plugin\views\display\DefaultDisplay))
> #10 /app/docroot/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php(319): Drupal\views\Entity\View->calculateDependencies()
> #11 /app/docroot/core/modules/views/src/Entity/View.php(292): Drupal\Core\Config\Entity\ConfigEntityBase->preSave(Object(Drupal\Core\Config\Entity\ConfigEntityStorage))
> #12 /app/docroot/core/lib/Drupal/Core/Entity/EntityStorageBase.php(581): Drupal\views\Entity\View->preSave(Object(Drupal\Core\Config\Entity\ConfigEntityStorage))
> #13 /app/docroot/core/lib/Drupal/Core/Entity/EntityStorageBase.php(536): Drupal\Core\Entity\EntityStorageBase->doPreSave(Object(Drupal\views\Entity\View))
> #14 /app/docroot/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php(253): Drupal\Core\Entity\EntityStorageBase->save(Object(Drupal\views\Entity\View))
> #15 /app/docroot/core/lib/Drupal/Core/Entity/EntityBase.php(339): Drupal\Core\Config\Entity\ConfigEntityStorage->save(Object(Drupal\views\Entity\View))
> #16 /app/docroot/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php(607): Drupal\Core\Entity\EntityBase->save()
> #17 /app/docroot/core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php(130): Drupal\Core\Config\Entity\ConfigEntityBase->save()
> #18 /app/docroot/core/modules/views/views.post_update.php(88): Drupal\Core\Config\Entity\ConfigEntityUpdater->update(Array, 'view', Object(Closure))
> #19 /app/vendor/drush/drush/src/Commands/core/UpdateDBCommands.php(314): views_post_update_sort_identifier(Array)
> #20 /app/vendor/drush/drush/includes/batch.inc(254): Drush\Commands\core\UpdateDBCommands::updateDoOnePostUpdate('views_post_upda...', Object(DrushBatchContext))
> #21 /app/vendor/drush/drush/includes/batch.inc(199): _drush_batch_worker()
> #22 /app/vendor/drush/drush/includes/batch.inc(100): _drush_batch_command('9089')
> #23 /app/vendor/drush/drush/src/Commands/core/UpdateDBCommands.php(168): drush_batch_command('9089')
> #24 [internal function]: Drush\Commands\core\UpdateDBCommands->process('9089', Array)
> #25 /app/vendor/consolidation/annotated-command/src/CommandProcessor.php(257): call_user_func_array(Array, Array)
> #26 /app/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback(Array, Object(Consolidation\AnnotatedCommand\CommandData))
> #27 /app/vendor/consolidation/annotated-command/src/CommandProcessor.php(176): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter(Array, Array, Object(Consolidation\AnnotatedCommand\CommandData))
> #28 /app/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(350): Consolidation\AnnotatedCommand\CommandProcessor->process(Object(Symfony\Component\Console\Output\ConsoleOutput), Array, Array, Object(Consolidation\AnnotatedCommand\CommandData))
> #29 /app/vendor/symfony/console/Command/Command.php(255): Consolidation\AnnotatedCommand\AnnotatedCommand->execute(Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
> #30 /app/vendor/symfony/console/Application.php(1027): Symfony\Component\Console\Command\Command->run(Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
> #31 /app/vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(Consolidation\AnnotatedCommand\AnnotatedCommand), Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
> #32 /app/vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun(Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
> #33 /app/vendor/drush/drush/src/Runtime/Runtime.php(118): Symfony\Component\Console\Application->run(Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
> #34 /app/vendor/drush/drush/src/Runtime/Runtime.php(49): Drush\Runtime\Runtime->doRun(Array, Object(Symfony\Component\Console\Output\ConsoleOutput))
> #35 /app/vendor/drush/drush/drush.php(72): Drush\Runtime\Runtime->run(Array)
> #36 /app/vendor/drush/drush/drush(4): require('/app/vendor/dru...')
> #37 {main}
Comments
Comment #2
awm commentedComment #4
christianadamski commentedThanks!