Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Warning: Invalid argument supplied for foreach() in Drupal\Core\Render\Element\Checkboxes::valueCallback() (line 100 of core/lib/Drupal/Core/Render/Element/Checkboxes.php).
Drupal\Core\Render\Element\Checkboxes::valueCallback(Array, , Object)
call_user_func_array(Array, Array) (Line: 1255)
Drupal\Core\Form\FormBuilder->handleInputElement('sharethis_settings', Array, Object) (Line: 972)
Drupal\Core\Form\FormBuilder->doBuildForm('sharethis_settings', Array, Object) (Line: 1042)
Drupal\Core\Form\FormBuilder->doBuildForm('sharethis_settings', Array, Object) (Line: 1042)
Drupal\Core\Form\FormBuilder->doBuildForm('sharethis_settings', Array, Object) (Line: 1042)
Drupal\Core\Form\FormBuilder->doBuildForm('sharethis_settings', Array, Object) (Line: 555)
Drupal\Core\Form\FormBuilder->processForm('sharethis_settings', Array, Object) (Line: 314)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 74)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 574)
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}()
call_user_func_array(Object, Array) (Line: 144)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 64)
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: 99)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 78)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 652)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#6 | 2816573-6.patch | 768 bytes | yogeshmpawar |
Comments
Comment #2
dawehnerComment #4
yogeshmpawarI have rerolled the patch because #2 failed to apply on current branch.
Comment #6
yogeshmpawarRerolling again for test fails.
Comment #7
navneet0693 CreditAttribution: navneet0693 as a volunteer and at QED42 commentedPatch works for me !
Comment #8
yogeshmpawarAny Update on this issue ?
Comment #9
Hemangi Gokhale#6 Worked.
Comment #10
edwardchiapetConfirmed that patch #6 works!
Comment #11
drnikki CreditAttribution: drnikki as a volunteer commentedAlso confirmed Patch #6 works on the 2.x-dev version
Comment #12
rgristroph CreditAttribution: rgristroph at Acquia commentedPatch #6 works on the 2.x-dev version for me also.
Comment #13
kmani#6 for me also worked for 2.x.dev version.
Comment #15
naveenvalechaCommitted and pushed to 8.x-2.x