StackOverflow community. I have tried to transfer the October cms website from one host to another. As a result, I received 500 error. browser error message
So what was done:
- website backup via ssh
- database backup
- import DB to a new host
- website backup was restored
- new DB credentials filled into the database.php file
then I tried to contact hostinger support team and they provide me with that answer.
I've tried a few things, such as updating the composer and changing the PHP version, but there are still issues. On PHP 7.2 the error 500 goes away but the page displays a different error. On 8.0 the issue persists even after updating the composer.
as the result, they advised me to create a thread on this website and show the error message.
[05-Jun-2022 12:45:27 UTC] PHP Fatal error: Declaration of DateTime::modify(string $modifier) must be compatible with Carbon\CarbonInterface::modify($modify) in /home/u499609402/domains/bloommo.lt/public_html/vendor/nesbot/carbon/src/Carbon/Carbon.php on line 0
can you help me to fix this?
p.s. the developer that created this October cms project left the team and had no answer to messages. So I have only access to the old server and new host.