The error is caused by a nominal code being entered into a non-payable pay element. Most frequently auto daily rate or auto hourly rate. To correct this, follow the steps below.
Click Payroll, and then click Pay Elements.
Select the pay element generating the error.
Click Update Pay Elements, and then click Standard Pay Elements.
Click Next, select the checkbox Nominal Accounts.
Click Update.
