After installing Drupal 10.2 I get the following error while doing drush cr:
[warning]
Missing proxy class 'Drupal\context_active_trail\ProxyClass\ContextActiveTrail' for lazy service 'menu.active_trail'.
Use the following command to generate the proxy class:
php core/scripts/generate-proxy-class.php 'Drupal\context_active_trail\ContextActiveTrail' "modules/contrib/context_active_trail/src"
ProxyServicesPass.php:66
I did what was stated and it worked. I'll create a patch based on https://git.drupalcode.org/issue/context_active_trail-3286756.git
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3409671.proxy_class.1.patch | 4 KB | defcon0 |
Issue fork context_active_trail-3409671
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
defcon0 commentedComment #3
joelpittetThis solved the immediate problem as the decorator pattern (I've implemented in menu_block)
#2968049: Dependency Injection issue. Probably needs a bit of clean up to remove the generator comments and remove the ignore but it does fix the problem so I'll RTBC
Comment #4
defcon0 commentedComment #5
c_archer commentedPatch worked for me.
Comment #9
gaurav_manerkar commentedFixed, Thanks
Comment #10
gaurav_manerkar commented