Issue with Content Lock Module

Created on 15 June 2023, 12 months ago
Updated 3 August 2023, 10 months ago

Problem/Motivation

On the multilingual site Conflict module gives an error when I'm doing bulk operation for the Break lock on the node.
Error: Object of class Drupal\Core\Language\Language could not be converted to string in PDOStatement->execute() (line 145 of /var/www/html/web/core/lib/Drupal/Core/Database/StatementWrapper.php)

I also tried on the fresh Drupal 9 and Drupal 10 project still got the same error.

Steps to reproduce

  • Install Content Lock Module https://www.drupal.org/project/content_lock
  • Enable the Content Lock option for the Node
  • Got Admin Content View and Edit it, Add the Bulk Operation and select Break Lock option and save the view
  • Visite the Content page and select multiple content then choose the option Break Lock from the Action dropdown and click on apply, you will get the error

Proposed resolution

We need to disable the Conflict Module in order to use the Bulk Break Lock option

🐛 Bug report
Status

Active

Component

Code

Created by

🇮🇳India Shani Maurya Mumbai

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

Comments & Activities

Production build 0.69.0 2024