Logic Exception caused by applying TVI to tags failed to select the specific view to display the content

Created on 18 April 2025, 10 days ago

Problem/Motivation

When using TVI to display set up tags view, i can not select the specific view due to a server error.

Steps to reproduce

Goto /admin/structure/taxonomy/manage/tags page, choose TVI to show the tags view,

In "Taxonomy Views Integrator Settings", select the view, then you can not select the specific view, because the Ajax Error in background, in the system log, here is the details:
LogicException: The database connection is not serializable. This probably means you are serializing an object that has an indirect reference to the database connection. Adjust your code so that is not necessary. Alternatively, look at DependencySerializationTrait as a temporary solution. in Drupal\Core\Database\Connection->__sleep() (line 1297 of /web/core/lib/Drupal/Core/Database/Connection.php).

location:/admin/structure/taxonomy/manage/tags?_wrapper_format=drupal_ajax&ajax_form=1&q=admin%2Fstructure%2Ftaxonomy%2Fmanage%2Ftags
Referer:/admin/structure/taxonomy/manage/tags

🐛 Bug report
Status

Active

Version

2.0

Component

User interface

Created by

🇨🇳China 55diego

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

Comments & Activities

Production build 0.71.5 2024