TypeError: Drupal\geocoder\DumperPluginManager::__construct(): Argument #5 ($messenger) must be of type...

Created on 29 January 2024, 11 months ago
Updated 21 February 2024, 10 months ago

Right after the latest update:

TypeError: Drupal\geocoder\DumperPluginManager::__construct(): Argument #5 ($messenger) must be of type Drupal\Core\Messenger\MessengerInterface, Drupal\Core\Logger\LoggerChannelFactory given, called in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\geocoder\DumperPluginManager->__construct() (line 48 of /var/www/html/web/modules/contrib/geocoder/src/DumperPluginManager.php).

When uploading an image to media field in a node - the media library widget stays frozen and the above error appears.

D10.2.2, Geocoder 8.x-4.21.

Reverting to the previous one.

Szy.

🐛 Bug report
Status

Fixed

Version

4.21

Component

Code

Created by

🇵🇱Poland szy

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

Comments & Activities

  • Issue created by @szy
  • Assigned to mohd sahzad
  • Issue was unassigned.
  • Status changed to Needs review 11 months ago
  • 🇮🇹Italy itamair

    ... did you clear drupal cache after upgrading guys???
    As it looks could depend on that to me.
    Updated Drupal\geocoder\DumperPluginManager looks fine to me, also in its dependencies injection.

  • Status changed to Closed: works as designed 11 months ago
  • 🇵🇱Poland szy

    Looks like you're right. My fault, I'm sorry :)

    Szy.

  • 🇺🇸United States timkroehler

    I have the same issue. D10.2.2, installed Geocoder 4.21, cleared cache after install.

    While saving a webpage, I get this white screen error:

    The website encountered an unexpected error. Try again later.

    TypeError: Drupal\geocoder\DumperPluginManager::__construct(): Argument #5 ($messenger) must be of type Drupal\Core\Messenger\MessengerInterface, Drupal\Core\Logger\LoggerChannelFactory given, called in /home/twelvet/public_html/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\geocoder\DumperPluginManager->__construct() (line 48 of modules/contrib/geocoder/src/DumperPluginManager.php).

  • 🇺🇸United States timkroehler

    I also get the error when I clear caches through the web interface. Can we re-open the issue?

  • Status changed to Needs review 11 months ago
  • 🇮🇹Italy itamair

    I am reopening this ... but just to quickly double check.
    Please move on into Geocoder version 4.22.
    Your issues still definitely look related to cache clear ...
    Please double check.
    The DumperPluginManager Service looks fine in tis dependency injection.

  • 🇮🇹Italy itamair

    Double checked ... no issues in the lates 8.x-4.22 version on this.

  • Status changed to Fixed 11 months ago
  • 🇺🇸United States timkroehler

    Successful upgrade to 8.x-4.22. An error in the log makes me think that this is a fluke in my data. Good to go!

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024