Support Taxonomy Term Workflow

Created on 5 September 2024, 4 months ago

Problem/Motivation

There are two terms(school-town) that need to be checked before published, which are included in the editorial workflow.

If I remove these terms from the workflow, kanban works without any problems. But when there is a term in the workflow, I get 4 php error & warnings.

Any idea, please? Thanks

Tested Versions
Drupal: 10.3.2
Content Planner : 2.0.x-dev

Referrer: d10site.site/admin/content-kanban?term=383

Warning: Undefined array key "uid" in Drupal\content_kanban\KanbanService->getEntitiesByEntityIds() (line 232 of /var/www/html/d10site/web/modules/contrib/content_planner/modules/content_kanban/src/KanbanService.php)
Warning: Undefined array key "owner" in Drupal\content_kanban\KanbanService->getEntitiesByEntityIds() (line 232 of /var/www/html/d10site/web/modules/contrib/content_planner/modules/content_kanban/src/KanbanService.php)
Deprecated function: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in Drupal\Core\Database\Connection->escapeAlias() (line 1361 of /var/www/html/d10site/web/core/lib/Drupal/Core/Database/Connection.php)
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '= ufd.uid WHERE ("nfd"."vid" IN ('school', 'town')) AND ("nfd"."tid" ...' at line 4: SELECT "nfd"."tid" AS "tid", "nfd"."name" AS "name", "nfd"."created" AS "created", "nfd"."status" AS "status", "nfd"."vid" AS "vid", "ufd"."name" AS "username", "nfd"."" AS "" FROM "dr_taxonomy_term_field_data" "nfd" INNER JOIN "dr_users_field_data" "ufd" ON nfd. = ufd.uid WHERE ("nfd"."vid" IN (:db_condition_placeholder_0, :db_condition_placeholder_1)) AND ("nfd"."tid" IN (:db_condition_placeholder_2, :db_condition_placeholder_3, :db_condition_placeholder_4, :db_condition_placeholder_5, :db_condition_placeholder_6, :db_condition_placeholder_7, :db_condition_placeholder_8, :db_condition_placeholder_9, :db_condition_placeholder_10, :db_condition_placeholder_11, :db_condition_placeholder_12,  :db_condition_placeholder_38, :db_condition_placeholder_39)) ORDER BY "nfd"."publish_on" ASC; Array ( [:db_condition_placeholder_0] => school [:db_condition_placeholder_1] => town [:db_condition_placeholder_2] => 118 [:db_condition_placeholder_3] => 119 [:db_condition_placeholder_4] => 120 [:db_condition_placeholder_5] => 121 [:db_condition_placeholder_6] => 122 [:db_condition_placeholder_7] => 123 [:db_condition_placeholder_8] => 124 [:db_condition_placeholder_9] => 125  ) in Drupal\content_kanban\KanbanService->getEntitiesByEntityIds() (line 272 of /var/www/html/d10site/web/modules/contrib/content_planner/modules/content_kanban/src/KanbanService.php).
💬 Support request
Status

Active

Version

2.0

Component

Documentation

Created by

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

Comments & Activities

Production build 0.71.5 2024