Multiple errors when trying to use widget - Drupal 8.3.0-rc2

Created on 19 March 2017, over 7 years ago
Updated 29 December 2023, 11 months ago

I get these errors when i try to use plupload widget

error 1
Notice: Trying to get property of non-object in Drupal\plupload_widget\Plugin\Field\FieldWidget\ImageWidget::process() (line 86 of /home/public_html/modules/plupload_widget/src/Plugin/Field/FieldWidget/ImageWidget.php) #0 /home/public_html/core/includes/bootstrap.inc(552): _drupal_error_handler_real(8, 'Trying to get p...', '/home/pu...', 86, Array) #1 /home/public_html/modules/plupload_widget/src/Plugin/Field/FieldWidget/ImageWidget.php(86): _drupal_error_handler(8, 'Trying to get p...', '/home/pu...', 86, Array) #2 [internal function]: Drupal\plupload_widget\Plugin\Field\FieldWidget\ImageWidget::process(Array, Object(Drupal\Core\Form\FormState), Array) #3 /home/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(982): call_user_func_array(Array, Array) #4 /home/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(1045): Drupal\Core\Form\FormBuilder->doBuildForm('commerce_produc...', Array, Object(Drupal\Core\Form\FormState)) #5 /home/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(1045): Drupal\Core\Form\FormBuilder->doBuildForm('commerce_produc...', Array, Object(Drupal\Core\Form\FormState)) #6 /home/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(1045): Drupal\Core\Form\FormBuilder->doBuildForm('commerce_produc...', Array, Object(Drupal\Core\Form\FormState)) #7 /home/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(1045): Drupal\Core\Form\FormBuilder->doBuildForm('commerce_produc...', Array, Object(Drupal\Core\Form\FormState)) #8 /home/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(1045): Drupal\Core\Form\FormBuilder->doBuildForm('commerce_produc...', Array, Object(Drupal\Core\Form\FormState)) #9 /home/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(1045): Drupal\Core\Form\FormBuilder->doBuildForm('commerce_produc...', Array, Object(Drupal\Core\Form\FormState)) #10 /home/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(1045): Drupal\Core\Form\FormBuilder->doBuildForm('commerce_produc...', Array, Object(Drupal\Core\Form\FormState)) #11 /home/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(557): Drupal\Core\Form\FormBuilder->doBuildForm('commerce_produc...', Array, Object(Drupal\Core\Form\FormState)) #12 /home/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(314): Drupal\Core\Form\FormBuilder->processForm('commerce_produc...', Array, Object(Drupal\Core\Form\FormState)) #13 /home/public_html/core/lib/Drupal/Core/Controller/FormController.php(74): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\commerce_product\Form\ProductForm), Object(Drupal\Core\Form\FormState)) #14 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch)) #15 /home/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #16 /home/public_html/core/lib/Drupal/Core/Render/Renderer.php(574): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #17 /home/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #18 /home/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #19 [internal function]: Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #20 /home/public_html/vendor/symfony/http-kernel/HttpKernel.php(144): call_user_func_array(Object(Closure), Array) #21 /home/public_html/vendor/symfony/http-kernel/HttpKernel.php(64): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #22 /home/public_html/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #23 /home/public_html/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #24 /home/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(99): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #25 /home/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(78): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #26 /home/public_html/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #27 /home/public_html/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #28 /home/public_html/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(50): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #29 /home/public_html/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #30 /home/public_html/core/lib/Drupal/Core/DrupalKernel.php(656): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #31 /home/public_html/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #32 {main}.

error 2
Notice: Undefined index: #upload_configuration in Drupal\plupload_widget\Plugin\Field\FieldWidget\ImageWidget::process() (line 56 of /home/public_html/modules/plupload_widget/src/Plugin/Field/FieldWidget/ImageWidget.php) #0 /home/public_html/core/includes/bootstrap.inc(552): _drupal_error_handler_real(8, 'Undefined index...', '/home/pu...', 56, Array) #1 /home/public_html/modules/plupload_widget/src/Plugin/Field/FieldWidget/ImageWidget.php(56): _drupal_error_handler(8, 'Undefined index...', '/home/pu...', 56, Array) #2 [internal function]: Drupal\plupload_widget\Plugin\Field\FieldWidget\ImageWidget::process(Array, Object(Drupal\Core\Form\FormState), Array) #3 /home/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(982): call_user_func_array(Array, Array) #4 /home/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(1045): Drupal\Core\Form\FormBuilder->doBuildForm('commerce_produc...', Array, Object(Drupal\Core\Form\FormState)) #5 /home/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(1045): Drupal\Core\Form\FormBuilder->doBuildForm('commerce_produc...', Array, Object(Drupal\Core\Form\FormState)) #6 /home/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(1045): Drupal\Core\Form\FormBuilder->doBuildForm('commerce_produc...', Array, Object(Drupal\Core\Form\FormState)) #7 /home/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(1045): Drupal\Core\Form\FormBuilder->doBuildForm('commerce_produc...', Array, Object(Drupal\Core\Form\FormState)) #8 /home/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(1045): Drupal\Core\Form\FormBuilder->doBuildForm('commerce_produc...', Array, Object(Drupal\Core\Form\FormState)) #9 /home/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(1045): Drupal\Core\Form\FormBuilder->doBuildForm('commerce_produc...', Array, Object(Drupal\Core\Form\FormState)) #10 /home/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(1045): Drupal\Core\Form\FormBuilder->doBuildForm('commerce_produc...', Array, Object(Drupal\Core\Form\FormState)) #11 /home/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(557): Drupal\Core\Form\FormBuilder->doBuildForm('commerce_produc...', Array, Object(Drupal\Core\Form\FormState)) #12 /home/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(314): Drupal\Core\Form\FormBuilder->processForm('commerce_produc...', Array, Object(Drupal\Core\Form\FormState)) #13 /home/public_html/core/lib/Drupal/Core/Controller/FormController.php(74): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\commerce_product\Form\ProductForm), Object(Drupal\Core\Form\FormState)) #14 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch)) #15 /home/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #16 /home/public_html/core/lib/Drupal/Core/Render/Renderer.php(574): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #17 /home/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #18 /home/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #19 [internal function]: Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #20 /home/public_html/vendor/symfony/http-kernel/HttpKernel.php(144): call_user_func_array(Object(Closure), Array) #21 /home/public_html/vendor/symfony/http-kernel/HttpKernel.php(64): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #22 /home/public_html/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #23 /home/public_html/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #24 /home/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(99): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #25 /home/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(78): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #26 /home/public_html/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #27 /home/public_html/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #28 /home/public_html/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(50): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #29 /home/public_html/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #30 /home/public_html/core/lib/Drupal/Core/DrupalKernel.php(656): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #31 /home/public_html/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #32 {main}.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States RobertoGuzman

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