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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner created an issue. See original summary.

dawehner’s picture

Status: Active » Needs review
FileSize
776 bytes

Status: Needs review » Needs work

The last submitted patch, 2: 2816573-2.patch, failed testing.

yogeshmpawar’s picture

Status: Needs work » Needs review
FileSize
769 bytes

I have rerolled the patch because #2 failed to apply on current branch.

Status: Needs review » Needs work

The last submitted patch, 4: 2816573-4.patch, failed testing.

yogeshmpawar’s picture

Status: Needs work » Needs review
FileSize
768 bytes

Rerolling again for test fails.

navneet0693’s picture

Status: Needs review » Reviewed & tested by the community

Patch works for me !

yogeshmpawar’s picture

Any Update on this issue ?

Hemangi Gokhale’s picture

#6 Worked.

edwardchiapet’s picture

Confirmed that patch #6 works!

drnikki’s picture

Also confirmed Patch #6 works on the 2.x-dev version

rgristroph’s picture

Patch #6 works on the 2.x-dev version for me also.

kmani’s picture

#6 for me also worked for 2.x.dev version.

  • naveenvalecha committed 54365bf on 8.x-2.x authored by dawehner
    Issue #2816573 by yogeshmpawar, dawehner, naveenvalecha: Fix notices in...
naveenvalecha’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x-2.x

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.