I am migrating a website for a client of mine. Whenever i try to log in to the panel, when i am logged in and looking at the dashboard is get the following error page:
āCannot access offset of type string on stringā
I cannot, for the life of me, find out what the problem is. Can it have something to do with SSL?
The .htaccesfile is working correctly, i think.
before i begin, i got it working. I will exlpain what i had to do, so if someone else runs in to this issue they maybe find a solution here.
My Kirby version is 2.5.13.
My PHP version was 7.4 (not completely)
What i was doing, i had DirectAdmin installed on a Ubuntu server 22.04 installation. This version of Ubuntu does not support OpenSSL 1.1.1, but only OpenSSL 3.x. This is a newer version, I know, but since Kirby 2 needs php 7.4 and OpenSSL 3.0 does not support php 8.0 or older it is nessecery.
What i had to do was reinstall my server, but this time I had to use Debian 11. This does support OpenSSL 1.1.1 out of the box. When installed i ran the nessecery commands for DirectAdmin to enable multiple PHP Versions. When i then installed PHP 7.4 i didnt get an error.
When finished, i uploaded the files to the server and bam, there it was.