Hello,

After installing the module, my site crashes when I try to access the configuration page.
I have the following error in my log:

TypeError: Argument 1 passed to Drupal\sendinblue\SendinblueMailin::__construct() must be an instance of Drupal\Core\Logger\LoggerChannelFactory, instance of Drupal\redirect_404\Render\Redirect404LogSuppressor given, called in \core\lib\Drupal\Component\DependencyInjection\Container.php on line 259 in Drupal\sendinblue\SendinblueMailin->__construct() (line 56 of \modules\contrib\sendinblue\src\SendinblueMailin.php)

Unfortunately I cannot use it.

Any idea how this can be solved?
My Drupal version is 8.9.2.

Thanks,
Regards,

Comments

Arno2Mars created an issue. See original summary.

thony’s picture

Same problem here, I reproduced it trying to access sendinblue'sconfiguration right after activating the module, this look like some incompatibility with the redirect module... since the file Redirect404LogSuppressor comes from there

thony’s picture

I can confirm uninstalling redirect_404 modules "solve" this (it's one of redirect's submodule)

loicLEMEUT’s picture

Hello @here,

Here is the patch.

Can you validate this ? I commit it after :)

Loïc

loicLEMEUT’s picture

Status: Active » Needs review
thony’s picture

Looks like it works :)

arno2mars’s picture

I confirm that after applying the patch in #4, now it works like a charm!

Thanks a lot for your help!

  • loicLEMEUT authored af02302 on 8.x-1.x
    Issue #3163308 by loicLEMEUT: Site crashes when trying to access the...
loicLEMEUT’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

thony’s picture

Version: 8.x-1.5 » 8.x-1.7
StatusFileSize
new1.23 KB

THe patch is incomplete the file SendInBlueEmail.php as the same problème and make the site crash when the user tries to crezate an account