Topic: integrate Fpoll

Hi, Im trying to integrate Fpoll in my sidebar on my punbb forum.

http://www.phpfront.com/fpoll.php


BUT I get an error:

Fatal error: Call to a member function on a non-object in \footer.php on line 158


Anyone know how I fix that?