Problem/Motivation

TypeError: Drupal\simple_sitemap\Logger::__construct(): Argument #1 ($messenger) must be of type Drupal\Core\Messenger\MessengerInterface, Drupal\Core\Logger\LoggerChannel given, called in /web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\simple_sitemap\Logger->__construct() (line 35 of modules/contrib/simple_sitemap/src/Logger.php).

Steps to reproduce

Shown when trying to delete a custom menu item

Proposed resolution

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

anybody created an issue. See original summary.

anybody’s picture

Issue summary: View changes
anybody’s picture

gbyte’s picture

Issue summary: View changes
Status: Active » Postponed (maintainer needs more info)

The issue you linked is not related.

Please tell me more about the bug? Drupal & module version?

anybody’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Sorry, I was still investigating. It happened in 4.x-dev after switching to the dev version because of #3496884: EntityHelper::getEntityBundle can sometimes return NULL despite typing

But it looks like it was a cache thing... seems to work fine now. Let's close this for now, if nobody else runs into this, I'm no more able to reproduce it.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

gbyte’s picture

Status: Closed (cannot reproduce) » Closed (duplicate)
Related issues: +#3489360: Use sitemap logger for exception logging
gbyte’s picture

Related issues: +#3560114: Error on update