A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Jobs.php

Line Number: 241

Backtrace:

File: /home/oslers/public_html/application/modules/jobs/controllers/Jobs.php
Line: 241
Function: _error_handler

File: /home/oslers/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Jobs.php

Line Number: 242

Backtrace:

File: /home/oslers/public_html/application/modules/jobs/controllers/Jobs.php
Line: 242
Function: _error_handler

File: /home/oslers/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/oslers/public_html/application/modules/ads/models/Ads_model.php
Line: 222
Function: get

File: /home/oslers/public_html/application/modules/jobs/controllers/Jobs.php
Line: 245
Function: ads_filter_job

File: /home/oslers/public_html/index.php
Line: 315
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 MySQL server version for the right syntax to use near 'AND (`job_child`.`job_status` = "Full-Time" OR `job_child`.`job_status` = "Part-' at line 4

SELECT *, `ads`.`id` as `a_id` FROM `ads` LEFT JOIN `job_child` ON `job_child`.`ads_id`=`ads`.`id` WHERE (`ads`.`status` = 1 AND `ads`.`subcategory_id` = AND (`job_child`.`job_status` = "Full-Time" OR `job_child`.`job_status` = "Part-Time") AND `ads`.`service_id` = 5 AND ads.created_at LIKE"2019%") ORDER BY `ads`.`created_at` DESC

Filename: modules/ads/models/Ads_model.php

Line Number: 222