A PHP Error was encountered

Severity: Notice

Message: Only variable references should be returned by reference

Filename: core/Common.php

Line Number: 257


Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; MY_Controller has a deprecated constructor in D:\inetpub\webs\liveoutdoorit\application\core\MY_Controller.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Eventi has a deprecated constructor in D:\inetpub\webs\liveoutdoorit\application\controllers\eventi.php on line 6

A PHP Error was encountered

Severity: Notice

Message: Only variables should be assigned by reference

Filename: core/Loader.php

Line Number: 150

A PHP Error was encountered

Severity: Notice

Message: Undefined property: Eventi::$db

Filename: core/Model.php

Line Number: 51


Fatal error: Uncaught Error: Call to a member function query() on null in D:\inetpub\webs\liveoutdoorit\application\models\dao\articolo_DAO.php:80 Stack trace: #0 D:\inetpub\webs\liveoutdoorit\application\controllers\eventi.php(22): Articolo_DAO->get_num_news() #1 D:\inetpub\webs\liveoutdoorit\system\core\CodeIgniter.php(359): Eventi->load_eventi() #2 D:\inetpub\webs\liveoutdoorit\index.php(202): require_once('D:\\inetpub\\webs...') #3 {main} thrown in D:\inetpub\webs\liveoutdoorit\application\models\dao\articolo_DAO.php on line 80