This error is usually caused by a file that doesn’t belong or a corrupt file.
You should probably try a fresh install – but linked to the same database. That way it is only the code that changes, nothing else (this is definitely a code problem, not data).