Drupal 10 rowCount error

Created on 25 December 2022, over 1 year ago
Updated 2 November 2023, 8 months ago

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 affected rows via rowCount(). in Drupal\Core\Database\StatementWrapper->rowCount() (line 188 of /var/www/web/core/lib/Drupal/Core/Database/StatementWrapper.php).

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

ivnish Poland

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.69.0 2024