When you see this error message it would be best to open the Item's edit page:
1. Scroll down to payment methods section:
2. Click on the small icon on the right.
3. Select the bank account related to this payment method.
4. Publish as paid!
More information about setting your payment methods and bank accounts, you can find in our ‘Getting started with QuickBooks Online’ guide.