- Issue created by @Marceldeb
- Assigned to pedro-alves
- Status changed to Needs review
8 months ago 1:37pm 12 April 2024 - 🇵🇹Portugal pedro-alves
Hi Marceldeb,
Thanks for reporting, which version are you upgrading from?
We are using the correct interface for the dependency injection:
use Drupal\Core\Language\LanguageManagerInterface; /** * The language manager service. * * @var \Drupal\Core\Language\LanguageManagerInterface */ protected $languageManager;
Also used in __construct(): Argument #7
LanguageManagerInterface $language_manager,
Are you able to flush your cache in order for these lic service pick up the dependency injections?
Please advise. - 🇳🇱Netherlands Marceldeb
Hi Pedro,
I am upgrading from 2.30. When going to a newer version, this error will occur. I can't flush caches using the interface, because the entire website is blocked because of the white error screen.
I will try to flush using command line and report back. Thanks for your reply so far.
- 🇳🇱Netherlands Marceldeb
Hi Pedro,
I just cleared cache and all works again. Thanks!
Marcel
- 🇵🇹Portugal pedro-alves
You may also clean the cache by truncating / deleting all database tables named cache*, cache_* with phpmyadmin.
Afterwards refresh your website page and drupal will rebuild those tables. - Status changed to Closed: works as designed
8 months ago 9:24am 14 April 2024 - 🇵🇹Portugal pedro-alves
Great news.
Will close this one now.
Thanks for reporting.