Incompatible method calls with MediaBulkUploadForm::getEntity()

Created on 19 October 2020, about 4 years ago
Updated 15 January 2024, 10 months ago

Problem

Module crashes when using media_bulk_upload (1.0.0-alpha27)

Steps to reproduce

* Install both modules and use a MediaBulkUploadForm

Error: Call to undefined method Drupal\media_bulk_upload\Form\MediaBulkUploadForm::getEntity() in _unique_field_ajax_process() (line 184 of modules/contrib/unique_field_ajax/unique_field_ajax.module).
_unique_field_ajax_process(Array, Object, Array)
call_user_func_array('_unique_field_ajax_process', Array) (Line: 1010)
Drupal\Core\Form\FormBuilder->doBuildForm('media_bulk_upload_form', Array, Object) (Line: 1073)
Drupal\Core\Form\FormBuilder->doBuildForm('media_bulk_upload_form', Array, Object) (Line: 1073)
Drupal\Core\Form\FormBuilder->doBuildForm('media_bulk_upload_form', Array, Object) (Line: 1073)
Drupal\Core\Form\FormBuilder->doBuildForm('media_bulk_upload_form', Array, Object) (Line: 1073)
Drupal\Core\Form\FormBuilder->doBuildForm('media_bulk_upload_form', Array, Object) (Line: 1073)
Drupal\Core\Form\FormBuilder->doBuildForm('media_bulk_upload_form', Array, Object) (Line: 575)
Drupal\Core\Form\FormBuilder->processForm('media_bulk_upload_form', Array, Object) (Line: 321)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 91)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 573)
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: 151)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
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: 49)
Asm89\Stack\Cors->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
🐛 Bug report
Status

Closed: duplicate

Version

1.2

Component

Code

Created by

🇦🇹Austria daniel.pernold

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024