Error: Class "Drupal\Core\Plugin\ContextAwarePluginBase" not found in include() (line 22 of /code/web/modules/contrib/view_mode_page/src/Plugin/view_mode_page/AliasType/EntityAliasTypeBase.php).

Created on 14 April 2024, 2 months ago
Updated 18 April 2024, 2 months ago

Problem/Motivation

After Updating to drupal 10 I get the following error:
Error: Class "Drupal\Core\Plugin\ContextAwarePluginBase" not found in include() (line 22 of /code/web/modules/contrib/view_mode_page/src/Plugin/view_mode_page/AliasType/EntityAliasTypeBase.php).

Steps to reproduce

if you go to /admin/config/search you get a WSOD and the log shows the indicated error

Proposed resolution

I have added this patch and it seems to work ok in my site

🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇻🇪Venezuela jvizcarrondo

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

Comments & Activities

Production build 0.69.0 2024