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 'nvarchar(50))='4'' at line 1

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

Line Number: 305

Backtrace:

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

File: /var/www/mrn/application/models/ForntendModel.php
Line: 42
Function: _get_row

File: /var/www/mrn/application/controllers/Frontend_Main.php
Line: 48
Function: get_sql_result

File: /var/www/mrn/application/views/frontend/timeshare-details.php
Line: 21
Function: get_sql_result

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

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