cache/render error when indexing Search API index

Created on 4 August 2022, almost 3 years ago
Updated 1 November 2023, over 1 year ago

Reposting this here (in addition to https://www.drupal.org/project/insert_view_adv/issues/3180525#comment-14... ) in hopes of helping anyone else who ran into this issue:

I was using the insert view module and encountered this error when re-indexing a Search API index.

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /batch?id=20&op=do_nojs&op=do
StatusText: OK
ResponseText: TypeError: Argument 1 passed to Drupal\Core\Cache\CacheableMetadata::createFromRenderArray() must be of the type array, null given, called in /var/www/sandbox/vhost/web/core/lib/Drupal/Core/Render/Renderer.php on line 349 in Drupal\Core\Cache\CacheableMetadata::createFromRenderArray() (line 149 of /var/www/sandbox/vhost/web/core/lib/Drupal/Core/Cache/CacheableMetadata.php).

Following a comment from the other issue report, I uninstalled Insert View and installed Advanced Insert View instead, and now my re-indexing is working.

If others run into a similar issue, Advanced Insert View might be a good workaround.

Insert View has been a part of many of my Drupal sites for many years - thank you so much for all your work on it over the years!

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇺🇸United States kristi wachter

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024