Fatal error using drush command with Drupal 10

Created on 27 August 2023, about 1 year ago
Updated 3 September 2024, 2 months ago

Problem/Motivation

There is an error using drush command with Drupal 10.

[Drupal\Core\Database\RowCountException]                                                                                                                                                                     
  rowCount() is supported for DELETE, INSERT, or UPDATE statements performed with structured query builders only, since they would not be portable across database engines otherwise. If the query builders are not sufficient, use a prepareStatement() with an $allow_row_count argument set to TRUE, execute() the Statement and get the number of matched rows via rowCount().

Steps to reproduce

Use command
drush vde_drush:views-data-export

Proposed resolution

Patch proposed.

πŸ› Bug report
Status

RTBC

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine andriic

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

Comments & Activities

Production build 0.71.5 2024