- Issue created by @nexg
I use Views Bulk Operation (VBO) module to update existing nodes images ALT, but it creates error everytime I use VBO action Modify Fields Value.
Btw, it didnt produced error when I use VBO action Save Content Item, but I find out this VBO action cannot update image ALT that's why I use Modify Fields Value action.
Drupal 9.5.3
PHP 8.1.14
Views Bulk Operations Version: 4.2.3
Error: Call to undefined method Drupal\views_bulk_operations\Form\ConfigureAction::getEntity() in Drupal\imagefield_tokens\Plugin\Field\FieldWidget\ImageFieldTokensWigdet->formElement() (line 110 of /domains/mydomain.local/web/modules/contrib/imagefield_tokens/src/Plugin/Field/FieldWidget/ImageFieldTokensWigdet.php)
#0 /domains/mydomain.local/web/core/lib/Drupal/Core/Field/WidgetBase.php(353): Drupal\imagefield_tokens\Plugin\Field\FieldWidget\ImageFieldTokensWigdet->formElement()
#1 /domains/mydomain.local/web/core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php(167): Drupal\Core\Field\WidgetBase->formSingleElement()
#2 /domains/mydomain.local/web/core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php(117): Drupal\file\Plugin\Field\FieldWidget\FileWidget->formMultipleElements()
#3 /domains/mydomain.local/web/core/lib/Drupal/Core/Field/WidgetBase.php(111): Drupal\image\Plugin\Field\FieldWidget\ImageWidget->formMultipleElements()
#4 /domains/mydomain.local/web/core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php(183): Drupal\Core\Field\WidgetBase->form()
#5 /domains/mydomain.local/web/modules/contrib/views_bulk_edit/src/Form/BulkEditFormTrait.php(134): Drupal\Core\Entity\Entity\EntityFormDisplay->buildForm()
#6 /domains/mydomain.local/web/modules/contrib/views_bulk_edit/src/Form/BulkEditFormTrait.php(83): Drupal\views_bulk_edit\Plugin\Action\ModifyEntityValues->getBundleForm()
#7 /domains/mydomain.local/web/modules/contrib/views_bulk_edit/src/Plugin/Action/ModifyEntityValues.php(156): Drupal\views_bulk_edit\Plugin\Action\ModifyEntityValues->buildBundleForms()
#8 /domains/mydomain.local/web/modules/contrib/views_bulk_operations/src/Form/ConfigureAction.php(105): Drupal\views_bulk_edit\Plugin\Action\ModifyEntityValues->buildConfigurationForm()
#9 [internal function]: Drupal\views_bulk_operations\Form\ConfigureAction->buildForm()
#10 /domains/mydomain.local/web/core/lib/Drupal/Core/Form/FormBuilder.php(534): call_user_func_array()
#11 /domains/mydomain.local/web/core/lib/Drupal/Core/Form/FormBuilder.php(281): Drupal\Core\Form\FormBuilder->retrieveForm()
#12 /domains/mydomain.local/web/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm()
#13 [internal function]: Drupal\Core\Controller\FormController->getContentResult()
#14 /domains/mydomain.local/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#15 /domains/mydomain.local/web/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#16 /domains/mydomain.local/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext()
#17 /domains/mydomain.local/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#18 /domains/mydomain.local/vendor/symfony/http-kernel/HttpKernel.php(169): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#19 /domains/mydomain.local/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#20 /domains/mydomain.local/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
#21 /domains/mydomain.local/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#22 /domains/mydomain.local/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#23 /domains/mydomain.local/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#24 /domains/mydomain.local/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#25 /domains/mydomain.local/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#26 /domains/mydomain.local/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#27 /domains/mydomain.local/web/core/lib/Drupal/Core/DrupalKernel.php(713): Stack\StackedHttpKernel->handle()
#28 /domains/mydomain.local/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#29 {main}
.
Active
2.23
Code