*I've been given a Symfony site to put from one web server to another. This
itself posed a number of challenges which I have fixed, however I'm stuck
on one now.
I can get the page to half-load, but it stops and I'm presented with this
Fatal error*: Call to a member function getId() on a non-object in *
* on line *20
*I've checked the PHP file in question, here are the contents of that file:
Despite the error I know what's *supposed *to be here because I saw the
site beforehand, it's a scrolling news ticker. Unfortunately I'm totally
new to symfony and googling this error has produced no useful help.
Any help you can provide would be greatly appreciated!