A PHP Error was encountered

Severity: Warning

Message: A non-numeric value encountered

Filename: prog_university/Cn_prog_university.php

Line Number: 147

Backtrace:

File: /home/uniaccess/public_html/application/controllers/front/prog_university/Cn_prog_university.php
Line: 147
Function: _error_handler

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/uniaccess/public_html/application/controllers/front/prog_university/Cn_prog_university.php
Line: 158
Function: get

File: /home/uniaccess/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 '-2, 2' at line 9

SELECT * FROM `uni_university_img_ads` WHERE `status` = '1' AND `page` = 'List University' AND `ads_type` = 'Rectangle' AND `from_date` <= '2021-07-29' AND `to_date` >= '2021-07-29' ORDER BY `pk_id` LIMIT -2, 2

Filename: controllers/front/prog_university/Cn_prog_university.php

Line Number: 158