Severity: Warning
Message: array_reverse() expects parameter 1 to be array, null given
Filename: news/view_news.php
Line Number: 104
Backtrace:
File: /var/www/application/views/news/view_news.php
Line: 104
Function: array_reverse
File: /var/www/application/views/news/view_news.php
Line: 108
Function: recursive
File: /var/www/application/controllers/News.php
Line: 119
Function: view
File: /var/www/index.php
Line: 175
Function: require_once
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: news/view_news.php
Line Number: 112
Backtrace:
File: /var/www/application/views/news/view_news.php
Line: 112
Function: _error_handler
File: /var/www/application/controllers/News.php
Line: 119
Function: view
File: /var/www/index.php
Line: 175
Function: require_once
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 ') AND `date_start` < '2024-03-29 02:45:57' AND `date_end` > '2024-03-29 02:45:57' at line 3
SELECT COUNT(*) AS `numrows` FROM `reklama` WHERE `t_id` IN() AND `date_start` < '2024-03-29 02:45:57' AND `date_end` > '2024-03-29 02:45:57'
Filename: views/news/view_news.php
Line Number: 139