Downgrade due to php version

I clicked on the update button on my self hosted invoice ninja and I got a composer error. Now whenever I try to do something it gives me a:

500: Composer detected issues in your platform:

Your Composer dependencies require a PHP version “>= 8.1.0”.

Unfortunately my host is still in the process of upgrading to PHP 8 so how do i revert any changes that took place so that I can use invoice ninja again?

Hi,

You could copy over the latest v5.4 release, make sure to backup the database and .env file.

https://github.com/invoiceninja/invoiceninja/releases/download/v5.4.12/invoiceninja.zip

Ok will do Hillel. Thanks