Thread:Project:Support desk/"Error creating thumbnail: Error code: 2"/reply (3)

The fact that you didn't get a parser error with that invalid code suggests that your LocalSettings.php file is being ignored altogether...