- πΊπΈUnited States shelane
This theme will not be supported for Bootstrap 4. See alternative themes for this support.
if a form element or a field (aka a Field UI field) has a suffix set, and in the form render array an Ajax callback is added, the following error will be displayed and the field suffix will contain the text "Array":
Notice: Array to string conversion in Drupal\bootstrap\Utility\Element->appendProperty() (line 173 of themes/contrib/bootstrap/src/Utility/Element.php).
Drupal\bootstrap\Utility\Element->appendProperty('field_suffix', Array) (Line: 95)
Drupal\bootstrap\Plugin\ProcessManager::processAjax(Object, Object, Array) (Line: 58)
Drupal\bootstrap\Plugin\ProcessManager::process(Array, Object, Array)
call_user_func_array(Array, Array) (Line: 998)
Drupal\Core\Form\FormBuilder->doBuildForm('bootstrap_form_test', Array, Object) (Line: 1061)
Drupal\Core\Form\FormBuilder->doBuildForm('bootstrap_form_test', Array, Object) (Line: 562)
Drupal\Core\Form\FormBuilder->processForm('bootstrap_form_test', Array, Object) (Line: 319)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 93)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 582)
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: 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: 693)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Steps to reproduce:
To help reproduce this issue a small custom module is attached in a Zip file, the module provides a route and a form which helps demonstrate the issues.
Closed: won't fix
4.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
This theme will not be supported for Bootstrap 4. See alternative themes for this support.