Fatal error: Call to a member function addLink() on a non-object in /var/www/stillenv2/app/code/local/Magehit/Affiliate/Block/Affiliateheader.php on line 8