Thread:Project:Support desk/Ungraded 1.10 to 1.19 ( and ported to new server ) - mediaWiki does not process etc

We have ported a mediaWiki site from one server to another. And we upgraded in the process from 1.10 to 1.19. Most everything seems to be working except that  gets printed from a few of our templates, such as the Template:BackTo customization that worked working on the old server, and the infoBox template. The following is our customized template:BackTo code. The ideas is that if the next page does not exist, nothing is rendered to the browser, but otherwise, one gets an arrow image with the name of next page given as a hyperlink. Something is either wrong with the syntax or the parser. Any help is appreciated.

For example the following throws an error

Product	Version MediaWiki	1.19.7 PHP	5.3.3 (apache2handler) MySQL	5.1.69