Yep - the more worrying thing is how you have the Clean theme available at all. It shouldn't be there.
Either you copied it back into the upgraded install (bad!) or you copied the new files over the top of the old (worse!)
Did you check environment when the site was 3.5?
Did you do a full site backup before upgrading?
Turn on debugging via config.php file:
https://docs.moodle.org/37/en/Debugging#In_config.php
Also, can you see any clues in your web servers error logs?
Softac upgrade ... hmmmm .... here we go again! :\
Reason I say that ... the clean theme you had been using when site was a 3.5 still present after upgrade. If you did not move the clean theme directory back into new code/theme/ it means Softac wrote over theme directory and did not replace it's contents as a manual upgrade would have or a git acquire upgrade would have done.
What other areas of moodle code did Softac try to mistakenly write over ... leaving old/incompat code?
'SoS', Ken