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: mysqli_sql_exception

Message: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '[Resort Main Table Amenity Detail] WHERE AmentID = '85' AND (UState = 'Monta...' at line 1

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

Line Number: 305

Backtrace:

File: /var/www/mrn/application/models/ResortSaleRent.php
Line: 26
Function: query

File: /var/www/mrn/application/models/ResortSaleRent.php
Line: 2184
Function: _get_results

File: /var/www/mrn/application/controllers/Frontend_Main.php
Line: 10200
Function: vacationtimeshare

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