A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Cats.php

Line Number: 26

Backtrace:

File: /web/hiptom3/hiptom.hu/application/controllers/Cats.php
Line: 26
Function: _error_handler

File: /web/hiptom3/hiptom.hu/index.php
Line: 174
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Cats.php

Line Number: 28

Backtrace:

File: /web/hiptom3/hiptom.hu/application/controllers/Cats.php
Line: 28
Function: _error_handler

File: /web/hiptom3/hiptom.hu/index.php
Line: 174
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Cats.php

Line Number: 36

Backtrace:

File: /web/hiptom3/hiptom.hu/application/controllers/Cats.php
Line: 36
Function: _error_handler

File: /web/hiptom3/hiptom.hu/index.php
Line: 174
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /web/hiptom3/hiptom.hu/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /web/hiptom3/hiptom.hu/application/controllers/Cats.php
Line: 37
Function: get

File: /web/hiptom3/hiptom.hu/index.php
Line: 174
Function: require_once

Database Error

Adatbázis hiba

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 ') AS T2 ON T2.product_category_id = T1.parent OR T1.parent = GROUP...' at line 14

SELECT count(product_id) as 'c' FROM `products` WHERE product_category_id IN(SELECT T1.product_category_id FROM product_categories AS T1 INNER JOIN ( SELECT product_category_id FROM product_categories WHERE parent = ) AS T2 ON T2.product_category_id = T1.parent OR T1.parent = GROUP BY T1.product_category_id) OR `product_category_id` IS NULL

Filename: controllers/Cats.php

Line Number: 37