Unexpected error exception on core System/Actions page when module is enabled

Created on 12 April 2023, over 1 year ago
Updated 18 August 2023, over 1 year ago

Problem/Motivation

A system exception error occurs when navigating to the core system/actions page if VBE is enabled

Steps to reproduce

1. Install VBE via composer
2. Enable VBE
3. Navigate to /admin/config/system/actions
4. Observe Error

The website encountered an unexpected error. Please try again later.
Error: Class "Drupal\views_bulk_operations\Action\ViewsBulkOperationsActionBase" not found in include() (line 31 of modules/contrib/views_bulk_edit/src/Plugin/Action/ModifyEntityValues.php).
include() (Line: 578)
Composer\Autoload\ClassLoader::Composer\Autoload\{closure}('/var/www/html/web/modules/contrib/views_bulk_edit/src/Plugin/Action/ModifyEntityValues.php') (Line: 432)
Composer\Autoload\ClassLoader->loadClass('Drupal\views_bulk_edit\Plugin\Action\ModifyEntityValues')
is_subclass_of('Drupal\views_bulk_edit\Plugin\Action\ModifyEntityValues', '\Drupal\Core\Plugin\PluginFormInterface') (Line: 56)
Drupal\action\Form\ActionAdminManageForm->buildForm(Array, Object)
call_user_func_array(Array, Array) (Line: 534)
Drupal\Core\Form\FormBuilder->retrieveForm('action_admin_manage', Object) (Line: 281)
Drupal\Core\Form\FormBuilder->buildForm('Drupal\action\Form\ActionAdminManageForm', Object) (Line: 222)
Drupal\Core\Form\FormBuilder->getForm('Drupal\action\Form\ActionAdminManageForm') (Line: 111)
Drupal\action\ActionListBuilder->render() (Line: 23)
Drupal\Core\Entity\Controller\EntityListController->listing('action')
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 46)
Drupal\redirect_after_login\RedirectMiddleware->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Proposed resolution

No error occurs, users can nav to core system pages with the module installed

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024