Skip to content

Instantly share code, notes, and snippets.

@Quevin
Last active January 6, 2017 18:03
Show Gist options
  • Save Quevin/f982aaeeeb9696c77c38de829e6776ee to your computer and use it in GitHub Desktop.
Save Quevin/f982aaeeeb9696c77c38de829e6776ee to your computer and use it in GitHub Desktop.
yamlform/settings warnings to patch
Warning: array_diff(): Argument #2 is not an array in Drupal\yamlform\Form\YamlFormAdminSettingsForm->buildForm() (line 393 of modules/contrib/yamlform/src/Form/YamlFormAdminSettingsForm.php).
Drupal\yamlform\Form\YamlFormAdminSettingsForm->buildForm(Array, Object)
call_user_func_array(Array, Array) (Line: 514)
Drupal\Core\Form\FormBuilder->retrieveForm('yamlform_admin_settings_form', Object) (Line: 271)
Drupal\Core\Form\FormBuilder->buildForm('yamlform_admin_settings_form', 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)
Warning: Invalid argument supplied for foreach() in Drupal\Core\Render\Element\Tableselect::valueCallback() (line 92 of core/lib/Drupal/Core/Render/Element/Tableselect.php).
Drupal\Core\Render\Element\Tableselect::valueCallback(Array, , Object)
call_user_func_array(Array, Array) (Line: 1257)
Drupal\Core\Form\FormBuilder->handleInputElement('yamlform_admin_settings_form', Array, Object) (Line: 974)
Drupal\Core\Form\FormBuilder->doBuildForm('yamlform_admin_settings_form', Array, Object) (Line: 1044)
Drupal\Core\Form\FormBuilder->doBuildForm('yamlform_admin_settings_form', Array, Object) (Line: 1044)
Drupal\Core\Form\FormBuilder->doBuildForm('yamlform_admin_settings_form', Array, Object) (Line: 557)
Drupal\Core\Form\FormBuilder->processForm('yamlform_admin_settings_form', Array, Object) (Line: 314)
Drupal\Core\Form\FormBuilder->buildForm('yamlform_admin_settings_form', 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment