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).

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ivnish created an issue. See original summary.

  • ivnish committed 66bd415f on 2.0.x
    Issue #3329567 by ivnish: Drupal 10 rowCount error
    
ivnish’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

Nicasso made their first commit to this issue’s fork.

yuehua changed the visibility of the branch 3329567-drupal-10-rowcount to hidden.