When running security_review report via the GUI on a Drupal 8.9 I get a "php white screen". Looking in the logs I see this:

Drupal\Core\Database\IntegrityConstraintViolationException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry
'182671' for key 'batch.PRIMARY': INSERT INTO {batch} (bid, timestamp, token, batch) VALUES (:db_insert_placeholder_0,
                                                      :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3); Array
                                                      (
                                                          [:db_insert_placeholder_0] => 182671
                                                          [:db_insert_placeholder_1] => 1646380694
                                                          [:db_insert_placeholder_2] => bePTP1PZb5stXXVEMqVh70QyrJRhxIUvaXvtxoESovM
                                                          [:db_insert_placeholder_3] =>
                                                      a:12:{s:4:"sets";a:1:{i:0;a:13:{s:7:"sandbox";a:0:{}s:7:"r...

drush pmu security_review/drush en security_review does not fix it. It ran ok the first time, this is on the second execution. (I left out the end of :db_insert_placeholder_3).

Comments

sboden created an issue. See original summary.

smustgrave’s picture

Status: Active » Postponed (maintainer needs more info)

Have you tried this with a D9 site?

smustgrave’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

Closing as outdated. If still an issue please test on 2.x branch and reopen please

Thanks!