Database deadlock detected
You can try and add the following lines to your settings.php file :
$databases['default']['default']['init_commands'] = array(
  'isolation' =&gt; &quot;SET SESSION tx_isolation='READ-COMMITTED'&quot;
);

https://support.acquia.com/hc/en-us/articles/360005253954-Fixing-database-deadlocks