I am having trouble to enable debug mode. I keep getting the same error as before changing the config.php file

I am using the latest version of Kirby with PHP 8.1.12 through Laragon.
This is my second Kirby website but the first one I wrote from scratch.
I am still updating and maintaining my first one where I can enable debug mode without any problem but running PHP 7.4. Unfortunately, I cannot use PHP 7.4 with the new website as the Kirby install is incompatible with that version. Could someone point me in any direction to find out what might be causing this?

I changed the config.php file found in kirby\config
by adding these lines:

<?php return [ 'debug' => true ]; shouldn't that be enough?

to add to this, I can see the errors in php_errors.log file

I just wish I could use the debug mode as it was very helpful and beautifully presented :confused:

Really?

Debug must be enabled in site/config/config.php

2 Likes

Could someone point me in any direction to find out what might be causing this?

Are you asking help figuring out why you can’t use the latest version of Kirby with PHP 7.4?
Because if that’s what you’re asking the answer is that Kirby now requires PHP 8.0+

Wow. I guess I should have looked at this today with a clearer head :slight_smile: