Fatal error: Call to a member function toArray() on a non-object in /var/www/html/vhosts/taxationweb.co.uk/application/controllers/Helpers/Misc.php on line 574