A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Home has a deprecated constructor

Filename: controllers/home.php

Line Number: 3

A PHP Error was encountered

Severity: Notice

Message: Use of undefined constant ENVIRONMENT - assumed 'ENVIRONMENT'

Filename: database/DB.php

Line Number: 57

Fatal error: Uncaught Error: Call to undefined method CI_DB_mysqli_driver::where() in /home/romagnavacanze/public_html/system/application/models/citta_model.php:15 Stack trace: #0 /home/romagnavacanze/public_html/system/application/controllers/home.php(31): Citta_model->get_cittas('IT') #1 /home/romagnavacanze/public_html/system/codeigniter/CodeIgniter.php(232): Home->index() #2 /home/romagnavacanze/public_html/index.php(115): require_once('/home/romagnava...') #3 {main} thrown in /home/romagnavacanze/public_html/system/application/models/citta_model.php on line 15