Admin panel stopped working after disabling DEBUG in system settings

now when i try to navigate to https://site/admin it returns a 500 error. Is there any way to revert this? The documentation shows you how to disable it but it doesn’t show you how to enable it back, I try googling but nothing useful came up. Clearing symfony cache did not help.

@amrh910 make sure that you clear cache and you have right permissions.
Also If you want to enable the debug mode again you can also do so with file system.
Open file ‘var/config/debug-mode.php’ and enable the debug mode.

    return [
        "active" => TRUE, //enables debug mode
        "ip" => "",
        "devmode" => TRUE // enabled dev mode
1 Like