My website worked well, but one day, it suddenly looks like a screenshot below, and I can’t log in at all. (If you access the panel, it will appear on the login screen.)
I recently linked the domain to the cloudflare.
I didn’t do anything else.
The reason why I connected the claudflare was to write https. (The front page works fine, but I can’t access the administrator page.)
I don’t know what caused this error…
Somebody help me.
It’s Kirby version 3, but I don’t know exactly, because I can’t enter the administrator page. However, I installed it as a startkit in 2020.
I tried to install a new Kirby after receiving the answer, but I couldn’t install a new Kirby version because my hosting php version was 7.3. And the php version cannot be upgraded.
You can find the version in the composer.json file inside the /kirby folder.
If your version still supports PHP 7.3, you must have a Kirby version prior to 3.6.0, because support for PHP 7.3 was dropped with that Kirby version.
If your hosting only supports outdated versions of PHP, I would consider changing your hosting provider. The only PHP versions that still receive security support are PHP 8.x., see PHP: Supported Versions
The issue reported on GitHub that I linked above refers to newer versions of Kirby though (3.6.x).
Try to set the url option in your config.php if you haven’t yet to see if this might solve your issue: url | Kirby CMS