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

CommentFileSizeAuthor
#2 3409671.proxy_class.1.patch4 KBdefcon0
Command icon 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

Defcon0 created an issue. See original summary.

defcon0’s picture

StatusFileSize
new4 KB
joelpittet’s picture

Status: Active » Reviewed & tested by the community

This 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

defcon0’s picture

Version: 8.x-1.x-dev » 8.x-2.x-dev
c_archer’s picture

Patch worked for me.

gaurav_manerkar made their first commit to this issue’s fork.

  • gaurav_manerkar committed 7f65f868 on 8.x-2.x
    Issue #3409671 by gaurav_manerkar, Defcon0, joelpittet, c_archer:...
gaurav_manerkar’s picture

Status: Reviewed & tested by the community » Fixed

Fixed, Thanks

gaurav_manerkar’s picture

Status: Fixed » Closed (fixed)