Cannot delete contributions
Did you move the database with mysqldump and mysql? Then trigger can fail because he has rights in the old database, and not in the new. The solution is to recreate all triggers. This can be done with the following command.
wp eval &quot;Civi::service('sql_triggers')-&gt;rebuild(NULL, FALSE);&quot;