Code declarations don't move in PHP scripts, if it worked previously and isn't now that'd mean that somehow the files have been modified; could you verify that all of the files in your /admin and /libs files are the same as the .zip file downloaded from here (when uploading files you will want to take care to never upload anything from the /cache_builders/custom or /includes folders, or the /styles/wrapper.php file).
Line #54 in /libs/admin.inc.php is the code declaration for the class "admin" which powers the control panel.
You may have to seek support from the
support desk in order to diagnose server issues.