A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Frontend.php

Line Number: 48

Backtrace:

File: /home/marlene1/public_html/belovedones/application/controllers/Frontend.php
Line: 48
Function: _error_handler

File: /home/marlene1/public_html/belovedones/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/marlene1/public_html/belovedones/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/marlene1/public_html/belovedones/application/models/My_model.php
Line: 113
Function: query

File: /home/marlene1/public_html/belovedones/application/controllers/Frontend.php
Line: 48
Function: get_table_row_query

File: /home/marlene1/public_html/belovedones/index.php
Line: 318
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1064

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 '' at line 1

SELECT * FROM listing WHERE country_id =

Filename: models/My_model.php

Line Number: 113