A PHP Error was encountered

Severity: Warning

Message: A non-numeric value encountered

Filename: controllers/Ads.php

Line Number: 582

Backtrace:

File: /home/oselle5/public_html/application/modules/ads/controllers/Ads.php
Line: 582
Function: _error_handler

File: /home/oselle5/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/oselle5/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/oselle5/public_html/application/modules/home/models/Home_model.php
Line: 379
Function: get

File: /home/oselle5/public_html/application/modules/ads/controllers/Ads.php
Line: 589
Function: ads_filter_with_pagination

File: /home/oselle5/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 MariaDB server version for the right syntax to use near '-10, 10' at line 9

SELECT `ads`.*, `membership`.`id` as `m_id`, `membership`.`title` as `m_name`, `category`.`category_name` as `cat_name`, `category`.`category_image` as `cat_image`, `membership`.`price` as `m_price`, `ads`.`price` as `a_price`, `area`.`area_title`, `area_title_bangla` FROM `ads` JOIN `category` ON `category`.`id`=`ads`.`category_id` LEFT JOIN `area` ON `area`.`area_id`=`ads`.`area_id` JOIN `login` ON `login`.`id`=`ads`.`login_id` JOIN `membership` ON `membership`.`id`=`login`.`member_type` WHERE (`ads`.`status` = 1 and `ads`.`service_id` = 2) ORDER BY `created_at` DESC LIMIT -10, 10

Filename: modules/home/models/Home_model.php

Line Number: 379