A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/FrontProduct.php

Line Number: 138

Backtrace:

File: /home/dreamwk/public_html/remarko.lk/application/controllers/FrontProduct.php
Line: 138
Function: _error_handler

File: /home/dreamwk/public_html/remarko.lk/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/FrontProduct.php

Line Number: 139

Backtrace:

File: /home/dreamwk/public_html/remarko.lk/application/controllers/FrontProduct.php
Line: 139
Function: _error_handler

File: /home/dreamwk/public_html/remarko.lk/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/FrontProduct.php

Line Number: 141

Backtrace:

File: /home/dreamwk/public_html/remarko.lk/application/controllers/FrontProduct.php
Line: 141
Function: _error_handler

File: /home/dreamwk/public_html/remarko.lk/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/FrontProduct.php

Line Number: 142

Backtrace:

File: /home/dreamwk/public_html/remarko.lk/application/controllers/FrontProduct.php
Line: 142
Function: _error_handler

File: /home/dreamwk/public_html/remarko.lk/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/FrontProduct.php

Line Number: 675

Backtrace:

File: /home/dreamwk/public_html/remarko.lk/application/controllers/FrontProduct.php
Line: 675
Function: _error_handler

File: /home/dreamwk/public_html/remarko.lk/application/controllers/FrontProduct.php
Line: 143
Function: get_page_location

File: /home/dreamwk/public_html/remarko.lk/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/FrontProduct.php

Line Number: 675

Backtrace:

File: /home/dreamwk/public_html/remarko.lk/application/controllers/FrontProduct.php
Line: 675
Function: _error_handler

File: /home/dreamwk/public_html/remarko.lk/application/controllers/FrontProduct.php
Line: 143
Function: get_page_location

File: /home/dreamwk/public_html/remarko.lk/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/FrontProduct.php

Line Number: 676

Backtrace:

File: /home/dreamwk/public_html/remarko.lk/application/controllers/FrontProduct.php
Line: 676
Function: _error_handler

File: /home/dreamwk/public_html/remarko.lk/application/controllers/FrontProduct.php
Line: 143
Function: get_page_location

File: /home/dreamwk/public_html/remarko.lk/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/FrontProduct.php

Line Number: 678

Backtrace:

File: /home/dreamwk/public_html/remarko.lk/application/controllers/FrontProduct.php
Line: 678
Function: _error_handler

File: /home/dreamwk/public_html/remarko.lk/application/controllers/FrontProduct.php
Line: 143
Function: get_page_location

File: /home/dreamwk/public_html/remarko.lk/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/FrontProduct.php

Line Number: 678

Backtrace:

File: /home/dreamwk/public_html/remarko.lk/application/controllers/FrontProduct.php
Line: 678
Function: _error_handler

File: /home/dreamwk/public_html/remarko.lk/application/controllers/FrontProduct.php
Line: 143
Function: get_page_location

File: /home/dreamwk/public_html/remarko.lk/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/FrontProduct.php

Line Number: 147

Backtrace:

File: /home/dreamwk/public_html/remarko.lk/application/controllers/FrontProduct.php
Line: 147
Function: _error_handler

File: /home/dreamwk/public_html/remarko.lk/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/dreamwk/public_html/remarko.lk/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 573

Backtrace:

File: /home/dreamwk/public_html/remarko.lk/application/core/Base_Model.php
Line: 184
Function: get

File: /home/dreamwk/public_html/remarko.lk/application/controllers/FrontProduct.php
Line: 211
Function: get_all

File: /home/dreamwk/public_html/remarko.lk/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 '-30, 30' at line 11

SELECT `p`.`Url`, `p`.`ProductId`, `pc`.`CategoryId`, `c`.`CategoryTitle`, `p`.`ProductTitle`, `p`.`Sku`, `pp`.`Price`, `pp`.`ProductPriceTitle`, `p`.`Image` FROM (`product_category` as `pc`, `product`) JOIN `category` as `c` ON `c`.`CategoryId` = `pc`.`CategoryId` JOIN `product` `p` ON `p`.`ProductId` = `pc`.`ProductId` JOIN `product_price` `pp` ON `pp`.`ProductId` = `p`.`ProductId` WHERE `pc`.`CategoryId` IN(NULL) AND `pc`.`IsDeleted` =0 AND `product`.`IsDeleted` =0 GROUP BY `p`.`ProductId` ORDER BY `p`.`Order` ASC LIMIT -30, 30

Filename: core/Base_Model.php

Line Number: 184