WordPress error after upgrade “cannot redeclare” + “eval()’d”

Solution:

After much research, I found that the site in question was hacked. More than 100 files were corrupted with codes. I cleaned them all and now things are functioning.

For others facing the same problem, download the whole files to your computer and look for eval codes (can be easily recognized).