Thread:Project:Support desk/Errors upgrading 1.16.to 1.20/reply

You have so strange and different errors, that I think something fundamental went wrong when you did the update.

For the first problem, I would replace the database with a backup and try to run update.php again. If you ran it once and it finished partly, then you have no guarantee, that when you run it again, it will add all the missing stuff, which had not been added before. It is well likely that after an incomplete update the missing part of the DB update is not done at all. This situation is easiest to be fixed, by replacing the incompletely-updated DB with a backup and by then running update.php again.

Before you do that, maybe you want to make sure that the archive with your MediaWiki files is not damaged and that when you copied over the new files, really all old files were removed and all new files were added. Sometimes there are stange errors, when old files are still there. Or also when not all new files have been added.

The second problem should really be caused by StartProfiler.php. Delete it. If you still get this error, check, that you have cleared all caches (you might e.g. have an opcode cache active).

The third problem (undefined method BitmapHandler::canRotate): No idea. Looks like something with the graphics functions is wrong. Do you have an extension installed, which changes something with graphics? Or which adds functionalities there? But maybe that already is solved, when you made sure that your update really is not broken (see notes above).