To the OP... there are THOUSANDS of optional plugins for Moodle. If you are using one, please mention it explicitly - it would save a lot of time. Even Ken and I don't know everything 
Howard Miller
Posts made by Howard Miller
That causes me to have all sorts of questions... but...
Are you talking about this optional plugin... https://moodle.org/plugins/block_theme_selector ?
Are you talking about this optional plugin... https://moodle.org/plugins/block_theme_selector ?
However, it might be worth enabling Debugging (all the way to Developer and show errors), recreate the error and get the trace. Then we know for sure which code is to 'blame'.
That file was removed WAY back in Moodle 3.10. Five years ago. It was deprecated back in 3.6 (before Ken was born
). See, https://tracker.moodle.org/browse/MDL-69238
So, either you have a VERY old version of the theme or the theme has a nasty bug.
So, either you have a VERY old version of the theme or the theme has a nasty bug.
Please enable developer level Debugging and recreate the problem. You should get the full error trace.
We need that to see where the error happened.
We need that to see where the error happened.
Of course - and I suspect this will turn out to be the problem - just because core Moodle is compatible with PHP 8.3 in no way implies that optional plugins all will be. So running the "Bleeding edge" version of PHP is probably optimistic.