DNN-5271 The method ExecuteSQLInternal(string connectionString, string sql, out string errorMessage) uses PetaPoco but doesn't need to. As far as I can see this method is only reached through the SQL module and that is what caused the issue. So reverting this to SqlHelper would solve the issue.
Merge pull request #99 from donker/dnn5271

DNN-5271 Reverting ExecuteSQLInternal from Petapoco to SqlHelper