Closed (fixed)
Project:
Blazy
Version:
8.x-2.6
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2022 at 10:18 UTC
Updated:
10 Mar 2022 at 00:14 UTC
Jump to comment: Most recent
Comments
Comment #2
gausarts commentedThank you.
Is it 2.6 or 2.7 for sure?
Mismatched desc vs selection :)
Drupal version?
Does running update and clearing cache fix it?
Comment #3
saurabh-2k17 commentedHey @gausarts
I just upgraded it from 2.6 to 2.7 and experience the same error but after clearing the cache it was gone.
Current Drupal Version is 9.3.6
Comment #4
gausarts commented@saurabh-2k17, thanks for confirming :)
Closing this as it appeared an obvious cache-clearing or update procedure issue.
Should you need more helpful info, check out the friendly bullet-proof update SOP, applicable for any module.
You can always access /admin/config/development/performance page to clear cache, if not
drush crwill do.There should be first time for everyone for everything.
Your report should still help new others nevertheless. Much appreciated.
Cheers.
Comment #5
promesI am running D9.3.6 as well. The problem was: is wasn't logged in and then I have to update the settings first via the database to be able to run update.php And setting the settings back.
I removed blazy 2.7 and replaced it with 2.6. After logging installed 2.7 again and ran update.php.
Everything OK now.
Thanks.
Comment #6
StefanSpeterDev commentedGot the same issue when updating, drush cr via console fixed it!
Comment #7
smustgrave commentedI'm getting this too
Message TypeError: Drupal\blazy\BlazyManagerBase::__construct(): Argument #2 ($entity_repository) must be of type Drupal\Core\Entity\EntityRepositoryInterface, Drupal\Core\Entity\EntityTypeManager given, called in /app/webroot/core/lib/Drupal/Component/DependencyInjection/Container.php on line 262 in Drupal\blazy\BlazyManagerBase->__construct() (line 96 of /app/webroot/modules/contrib/blazy/src/BlazyManagerBase.php)
#0 /app/webroot/core/lib/Drupal/Component/DependencyInjection/Container.php(262): Drupal\blazy\BlazyManagerBase->__construct(Object(Drupal\Core\Entity\EntityRepository), Object(Drupal\Core\Entity\EntityTypeManager), Object(Drupal\Core\Extension\ModuleHandler), Object(Drupal\Core\Render\Renderer), Object(Drupal\Core\Config\ConfigFactory), Object(Drupal\redis\Cache\PhpRedis))
Which is causing pages to crash and drush cr doesn't seem to work.
Seems to conflicts with redis.
Comment #8
gausarts commentedWas the provided update run?
If not, try running /update.php via browser, not CLI.