Wanted to give the v3 a shot but unfortunately didn't make it.

Had 2.12. installed, then update module to 3.0-rc4 and wanted to let the DB updates run:

Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 3 passed to Drupal\simple_sitemap\Queue\QueueWorker::__construct() must be an instance of Drupal\Core\State\State, instance of Drupal\webprofiler\State\StateWrapper given in Drupal\simple_sitemap\Queue\QueueWorker->__construct() (line 92 of /Users/leymannx/Sites/ix-eu-multisite/web/modules/contrib/simple_sitemap/src/Queue/QueueWorker.php).

My page is inaccessible now because of this fatal error. Will revert.

Can I provide any more information?

Comments

leymannx created an issue. See original summary.

  • gbyte.co committed 6b36a1f on 8.x-3.x
    Issue #3018398 by leymannx: Fatal error when upgrading from 8.2.12
    
gbyte’s picture

Title: Fatal when upgrading from 8.2.12 to 8.3.0-rc4 or 8.3.x-dev » Fatal when upgrading from 8.2.12 when using webprofiler
Priority: Major » Normal
Status: Active » Fixed

Apparently the webprofiler module does this to many modules. This should be now mitigated in dev, please test and get back to me. Thanks.

leymannx’s picture

Wow you are faster than light! Glad you seem to have a good insight in the code base.

Now it works like a charm. drush updb and drush cron and it was done!

gbyte’s picture

No worries, it's good you cought it before the release of the stable version. I see both of us have been working with cbe. Die Welt ist klein. :)

leymannx’s picture

:D Ah cool!

Patrick just told me you maybe are looking for co-maintainers?

Any chance I'll meet you at the Drupal User Group in Berlin this evening?

gbyte’s picture

Will email you shortly.

Status: Fixed » Closed (fixed)

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