Node revision generate using deprecated Drupal\Core\Database\Driver\mysql\Connection definition

Created on 27 July 2022, over 2 years ago
Updated 23 January 2023, almost 2 years ago

Problem/Motivation

Using Node Revision Delete with drupal 9.4.x version will throw below error as Drupal\Core\Database\Driver\mysql\Connection moved to Drupal\mysql\Driver\Database\mysql\Connection mysql module in core
error [error] TypeError: ############ Argument #1 ($database) must be of type Drupal\Core\Database\Driver\mysql\Connection, Drupal\mysql\Driver\Database\mysql\Connection given

Steps to reproduce

Proposed resolution

TO fix thi problem we have to replace Drupal\Core\Database\Driver\mysql\Connection with Drupal\mysql\Driver\Database\mysql\Connection

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India Nilesh Chhantbar

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

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