- Issue created by @nickbooth
- Status changed to Postponed: needs info
4 months ago 8:39am 5 August 2024 - 🇬🇧United Kingdom LiamPower
Hi @nickbooth,
I'm unable to replicate this. From the look of your error message your
menu_item_role_access.info.yml
may be out of date or the service may be being overridden.If you can provide further information I will try and help you resolve it.
Thanks
- 🇬🇧United Kingdom nickbooth
Thanks Liam
I have been using MIRA for a long time and have never had any issue before. I am very much a hobbyist so I don't really understand the internals of Drupal as well as many. It was only this year that I finally bit the bullet and applied Composer and Drupal 10 to my sites.Since then I run composer update "drupal/*" --with-all-dependencies any time any update is required. Wonderful!
Now I'm having this problem updating MIRA from 2.1 to 2.3. I'll have to update core and other contrib separately until this issue is fixed.
As I'm far from being an expert I'm not sure what further info I should provide but I really appreciate your offer of help. - 🇬🇧United Kingdom LiamPower
It may be that you have another service redefining
menu.default_tree_manipulators
again, are you able to search that in your code base and name each of the files that end inservices.yml
containing that string? - 🇬🇧United Kingdom nickbooth
I found 174 files with filenames ending "services.yml". Only one mentioned "menu.default_tree_manipulators", namely menu_item_role_access.services.yml
- First commit to issue fork.
- 🇬🇧United Kingdom littlepixiez
Hi @nickbooth. So this issue looks like it was introduced in version 2.2 as the dependencies for the
menu.default_tree_manipulators
service were updated.A cache clear should resolve this issue for you -- do you have access to drush on your terminal, to run "drush cr"?
I have added a commit to add a cache clear as an update hook, as for users who do not have access to drush will need to run update hooks to not hit this issue.
- Assigned to littlepixiez
- Status changed to Needs review
4 months ago 9:27am 12 August 2024 - Merge request !11#3465543 Added update hook to flush caches for services dependencies updates → (Merged) created by littlepixiez
-
liampower →
committed b8822f45 on 8.x-2.x authored by
littlepixiez →
#3465543 by littlepixiez, nickbooth, liampower: Added update hook to...
-
liampower →
committed b8822f45 on 8.x-2.x authored by
littlepixiez →
- Issue was unassigned.
- Status changed to Fixed
4 months ago 2:57pm 12 August 2024 Automatically closed - issue fixed for 2 weeks with no activity.