Notice: Trying to get property of non-object in /home/livraria/application/Controller/indexController.php on line 145