My Depot site crashes on PHP 8

Hello
Some time ago I bought the theme “Depot” on your platform
The server has changed the PHP version of my site and it is giving error with php 8 and the server does not allow me to downgrade the php version.
I have written to the support of “Depot” to see if there is a solution but, but I receive no response
I would appreciate any information you can give me.

Hi @youngluis, I am not sure but maybe the theme is not ready for PHP 8. You have to contact theme author and ask them about it. You can try through theme Comments page of the theme.

Thanks

Hello @youngluis

There might be a way around this, as I had a similar issue myself on our own hosting servers. You can change or add to the htacess file. How to set php versions in Htaccess files:

EXAMPLE -
PHP 7.4

# php – BEGIN cPanel-generated handler, do not edit
# Set the “ea-php74” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php74___lsphp .php .php7 .phtml
</IfModule>
# php – END cPanel-generated handler, do not edit

Let me know if this helped you :wink:

Thank you very much for the reply
Unfortunately it did not solve the problem
First it worked on test site
but when moving the solution to the final server it keeps failing

have you contacted your hosting support. Maybe they will be able to downgrade PHP for you. Some hosting offers multi PHP manager options in cpanel and you can downgrade from there.