Error after upgrading to 5.0.5

We upgraded our test system from RT 4.4.4 to 5.0.5 and since the upgrade, this error pops up anywhere we go within the interface:

Your query exceeded the maximum run time and was stopped. Try modifying your query to improve the performance or contact your RT admin

I’m not sure what that is all about. Any ideas and/or suggestions? Please advise. Thank you.

This has been resolved - in case anyone else comes across this same error. It was an issue with the database. We had forgot to upgrade it (“make upgrade-database”) (documentation)