Serialisation of search form fails due to closure

Created on 8 February 2024, 9 months ago

Exception: Serialization of 'Closure' is not allowed in serialize() (line 14 of core/lib/Drupal/Component/Serialization/PhpSerialize.php).
Drupal\Component\Serialization\PhpSerialize::encode(Array) (Line: 111)
Drupal\Core\KeyValueStore\DatabaseStorageExpirable->doSetWithExpire('form-9qoHplkxo2WHZtoLFNAH7wXi31erpIVvxoUxR5yhiq4', Array, 21600) (Line: 127)
Drupal\Core\KeyValueStore\DatabaseStorageExpirable->setWithExpire('form-9qoHplkxo2WHZtoLFNAH7wXi31erpIVvxoUxR5yhiq4', Array, 21600) (Line: 197)
Drupal\Core\Form\FormCache->setCache('form-9qoHplkxo2WHZtoLFNAH7wXi31erpIVvxoUxR5yhiq4', Array, Object) (Line: 463)
Drupal\Core\Form\FormBuilder->setCache('form-9qoHplkxo2WHZtoLFNAH7wXi31erpIVvxoUxR5yhiq4', Array, Object) (Line: 441)
Drupal\Core\Form\FormBuilder->rebuildForm('search_api_pinecone_search', Object, Array) (Line: 633)
Drupal\Core\Form\FormBuilder->processForm('search_api_pinecone_search', Array, Object) (Line: 325)

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇧🇪Belgium mpp

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024