A PHP Error was encountered

Severity: Warning

Message: Trying to access array offset on value of type int

Filename: controllers/Products.php

Line Number: 68

Backtrace:

File: /customers/8/6/7/manoskoservice.se/httpd.www/application/controllers/Products.php
Line: 68
Function: _error_handler

File: /customers/8/6/7/manoskoservice.se/httpd.www/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "KatId" on null

Filename: controllers/Products.php

Line Number: 68

Backtrace:

File: /customers/8/6/7/manoskoservice.se/httpd.www/application/controllers/Products.php
Line: 68
Function: _error_handler

File: /customers/8/6/7/manoskoservice.se/httpd.www/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 /customers/8/6/7/manoskoservice.se/httpd.www/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 573

Backtrace:

File: /customers/8/6/7/manoskoservice.se/httpd.www/application/models/PageModel.php
Line: 443
Function: get

File: /customers/8/6/7/manoskoservice.se/httpd.www/application/controllers/Products.php
Line: 70
Function: getProdsWithLimit

File: /customers/8/6/7/manoskoservice.se/httpd.www/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 '-40, 20' at line 12

SELECT `lager`.`id` as `prodid`, `lager`.`Annat` as `article`, `lager`.`Num` as `id`, `lager`.`Pris` as `price`, `lager_details`.`Namn` as `name`, `lager_details`.`Namn` as `title`, `kategori`.`Kat` as `category`, `lager`.`Antal`, `lager_details`.`description`, `lager_details`.`prod_size`, `lager_details`.`prod_color`, `lager`.`Pris` as `price`, `lager`.`Antal`, `lager_details`.`image1` as `image`, `lager_details`.`Num`, `lager_details`.`ordinaryprice`, `lager_details`.`perm_link` FROM `kategori` JOIN `lager` ON `kategori`.`KatId` = `lager`.`KatId` JOIN `lager_details` ON `lager`.`id` = `lager_details`.`ProdId` WHERE `lager`.`Annat` != '' AND `lager`.`Antal` > '0' AND `lager`.`Pris` > '0' AND `lager_details`.`isshow` = '1' AND `lager`.`KatId` != '46' GROUP BY `lager`.`Annat`, `lager_details`.`Annat`, `lager_details`.`prod_color` ORDER BY `lager`.`id` DESC LIMIT -40, 20

Filename: models/PageModel.php

Line Number: 443