Closed (fixed)
Project:
Menu Item Role Access
Version:
8.x-2.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 Aug 2024 at 18:32 UTC
Updated:
26 Aug 2024 at 14:59 UTC
Jump to comment: Most recent
Comments
Comment #2
liampower commentedHi @nickbooth,
I'm unable to replicate this. From the look of your error message your
menu_item_role_access.info.ymlmay 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
Comment #3
nickbooth commentedThanks 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.
Comment #4
liampower commentedIt may be that you have another service redefining
menu.default_tree_manipulatorsagain, are you able to search that in your code base and name each of the files that end inservices.ymlcontaining that string?Comment #5
nickbooth commentedI found 174 files with filenames ending "services.yml". Only one mentioned "menu.default_tree_manipulators", namely menu_item_role_access.services.yml
Comment #7
littlepixiez commentedHi @nickbooth. So this issue looks like it was introduced in version 2.2 as the dependencies for the
menu.default_tree_manipulatorsservice 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.
Comment #8
littlepixiez commentedComment #9
littlepixiez commentedComment #12
liampower commentedThank you both!