Fatal error: Call to a member function logAction() on a non-object in /var/www/demo/htdocs/lib/functions.php on line 717