Upgraded to 5.4, Donor Report fails with bad sql. Status_id is missing
This error will occur if you have missing/inactive Batch Status. To check navigate to CiviCRM >> Administer >> System Settings >> Option Groups. Search for Batch Status and then click on options link besides it.

You should see 'Data Entry' if not then you will need to add it as it is required by CiviCRM or enable it if its disabled. 


  Note from Paul:  It existed and was enabled; however, it had a value of 0 as did Reopen and Export. I looked at a demo and saw they
  have other values. Just hitting the Edit in order Data Entry, Reopen,
  Export and saving caused them automatically have the right value. That
  fixed the issue. Add this info to your answer and I'll check it and up
  vote it.


HTH

Pradeep