Uncaught TypeError

Created on 8 October 2019, about 5 years ago
Updated 19 July 2024, 5 months ago

@gbyte.co, I'm getting the below php error, but I'm not sure if it's related to #3066138: Argument 1 passed to Drupal\simple_sitemap\EntityHelper::getEntityInstanceBundleName() must be an instance of Drupal\Core\Entity\Entity, instance of Drupal\node\Entity\Node Node now extends from EntityBase β†’ or πŸ“Œ Throw and Catch exceptions in API Fixed . Are you able to advise?

Uncaught TypeError:
Argument 2 passed to Drupal\simple_sitemap\EntityHelper::__construct() must implement interface Drupal\Core\Entity\EntityTypeBundleInfoInterface, instance of Drupal\Core\Database\Driver\mysql\Connection given, called in /srv/bindings/d7e910.../code/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 277 and defined in /srv/bindings/d7e910.../code/web/modules/contrib/simple_sitemap/src/EntityHelper.php:36

Stack trace:
#0 /srv/bindings/d7e910.../code/web/core/lib/Drupal/Component/DependencyInjection/Container.php(277): Drupal\simple_sitemap\EntityHelper->__construct(Object(Drupal\Core\Entity\EntityTypeManager), Object(Drupal\Core\Database\Driver\mysql\Connection), Object(Drupal\Core\Entity\EntityTypeBundleInfo))
#1 /srv/bindings/d7e910.../code/web/core/lib/Drupal/Component/DependencyInjection/Container.php(173): Drupal\Component\DependencyInjection\Container

πŸ’¬ Support request
Status

Fixed

Version

3.4

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Chris Matthews

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

Merge Requests

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