A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: models/Novidades_Model.php

Line Number: 113

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: n

Filename: frontend/novidade_view.php

Line Number: 56


Fatal error: Uncaught Error: Call to a member function getData() on null in /home/exposupermercados/www/app/third_party/Novidades/views/frontend/novidade_view.php:56 Stack trace: #0 /home/exposupermercados/www/system/core/Loader.php(835): include() #1 /home/exposupermercados/www/system/core/Loader.php(421): CI_Loader->_ci_load(Array) #2 /home/exposupermercados/www/app/third_party/System/outputs/System_Common_Output.php(48): CI_Loader->view('frontend/novida...', Array) #3 /home/exposupermercados/www/app/controllers/frontend/Novidades_Controller.php(42): System_Common_Output->toHtml() #4 /home/exposupermercados/www/system/core/CodeIgniter.php(359): Novidades_Controller->item('mcdonald%E2%80%...') #5 /home/exposupermercados/www/index.php(224): require_once('/home/exposuper...') #6 {main} thrown in /home/exposupermercados/www/app/third_party/Novidades/views/frontend/novidade_view.php on line 56