A PHP Error was encountered

Severity: Notice

Message: Undefined index: id

Filename: controllers/Articles.php

Line Number: 48

Backtrace:

File: /home/server695410/ftp/podrozezpasja/applications/frontend/controllers/Articles.php
Line: 48
Function: _error_handler

File: /home/server695410/ftp/podrozezpasja/index.php
Line: 298
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/server695410/ftp/podrozezpasja/applications/frontend/controllers/Articles.php
Line: 57
Function: query

File: /home/server695410/ftp/podrozezpasja/index.php
Line: 298
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 count(*) as sum FROM articles a WHERE a.is_active = 1 AND a.id IN (SELECT article_id FROM articles2categories a2c WHERE a2c.category_id = )

Filename: controllers/Articles.php

Line Number: 57