- Issue created by @Vivek Panicker
- 🇮🇳India Vivek Panicker Kolkata
My bad.
It seems selecting the proper key at /admin/config/ai/vdb_providers/pinecone and re-saving the form resolved the error.
So closing this issue as there is notthing to fix.
The following error is thrown on opening the search server page
The website encountered an unexpected error. Try again later.
Error: Call to a member function getKeyValue() on null in Drupal\vdb_provider_pinecone\Plugin\VdbProvider\PineconeProvider->getClient() (line 106 of modules/contrib/ai/modules/vdb_providers/vdb_provider_pinecone/src/Plugin/VdbProvider/PineconeProvider.php).
Drupal\vdb_provider_pinecone\Plugin\VdbProvider\PineconeProvider->buildSettingsForm(Array, Object, Array) (Line: 223)
Drupal\ai_search\Plugin\search_api\backend\SearchApiAiSearchBackend->buildConfigurationForm(Array, Object) (Line: 222)
Drupal\search_api\Form\ServerForm->buildBackendConfigForm(Array, Object, Object) (Line: 89)
Drupal\search_api\Form\ServerForm->form(Array, Object) (Line: 107)
Drupal\Core\Entity\EntityForm->buildForm(Array, Object)
call_user_func_array(Array, Array) (Line: 536)
Drupal\Core\Form\FormBuilder->retrieveForm('search_api_server_edit_form', Object) (Line: 284)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
...........
- Install AI search
- Install Pinecone provider
- Configure search server
- Open search server page
You will get the error.
(Please note that I have just updated the module in my system only. So I cannot be certain if the issue will be reproducible on fresh install.)
NA
NA
NA
NA
NA
Active
1.0
AI Search
My bad.
It seems selecting the proper key at /admin/config/ai/vdb_providers/pinecone and re-saving the form resolved the error.
So closing this issue as there is notthing to fix.