QuickBooks Payroll sometimes gets an error when you try to update the payroll, activate, update the tax table, pay employees and submit paychecks for direct deposit. This error causes a damaged QB company file and a payroll folder to be damaged. You need to run a repair on QuickBooks https://www.askforaccounting.com/quickbooks-payroll-update-error-and-problem/