Admin - Debugging_logs throwing error when switching debug template

Description

Initially, I've created a modern template and run the test file. Now, I see into the admin Debugging logs.
There are all templates are available with checkbox. If I click a modern template means, it works fine. Then after click Classic, it throwing error.

Environment

None

Assignee

Michael Offner

Reporter

Pothys - MitrahSoft

Priority

Critical

Labels

None

Fix versions

Configure