A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/mrn/application/models/ForntendModel.php:1)

Filename: core/Common.php

Line Number: 570

Backtrace:

An uncaught Exception was encountered

Type: Error

Message: Call to a member function real_escape_string() on false

Filename: /var/www/mrn/system/database/drivers/mysqli/mysqli_driver.php

Line Number: 391

Backtrace:

File: /var/www/mrn/application/models/ForntendModel.php
Line: 49
Function: query

File: /var/www/mrn/application/controllers/Frontend_Main.php
Line: 51
Function: get_sql_result_2

File: /var/www/mrn/application/views/frontend/resorts/resorts.php
Line: 45
Function: get_sql_result_2

File: /var/www/mrn/application/controllers/Frontend_Main.php
Line: 3399
Function: view

File: /var/www/mrn/index.php
Line: 316
Function: require_once