Fatal error: Trait ContainerAwareTrait not found

Created on 25 October 2024, 29 days ago

Support for ContainerAwareInterface was removed from 11.x-dev in πŸ“Œ [PP-2] Remove support for ContainerAwareInterface Postponed . As a result, the wse_config module now causes the whole site to white screen once installed:

Fatal error: Trait "Symfony\Component\DependencyInjection\ContainerAwareTrait" not found in /var/www/html/web/modules/contrib/wse/modules/wse_config/src/Cache/WseChainedFastBackendFactory.php on line 16

The fix is just to copy the old ::setContainer() method & company directly to WseChainedFastBackendFactory. See πŸ“Œ Convert CacheFactory to use a service locator Needs work for an example.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States traviscarden

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024