A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/Product_details.php

Line Number: 99

Backtrace:

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/models/Product_details.php
Line: 99
Function: _error_handler

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/controllers/Main.php
Line: 431
Function: get_cat_product

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/controllers/Main.php
Line: 261
Function: details

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/Product_details.php

Line Number: 105

Backtrace:

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/models/Product_details.php
Line: 105
Function: _error_handler

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/controllers/Main.php
Line: 431
Function: get_cat_product

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/controllers/Main.php
Line: 261
Function: details

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: cat

Filename: models/Product_details.php

Line Number: 168

Backtrace:

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/models/Product_details.php
Line: 168
Function: _error_handler

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/controllers/Main.php
Line: 431
Function: get_cat_product

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/controllers/Main.php
Line: 261
Function: details

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: subcat

Filename: models/Product_details.php

Line Number: 168

Backtrace:

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/models/Product_details.php
Line: 168
Function: _error_handler

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/controllers/Main.php
Line: 431
Function: get_cat_product

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/controllers/Main.php
Line: 261
Function: details

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: subcatslug

Filename: models/Product_details.php

Line Number: 168

Backtrace:

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/models/Product_details.php
Line: 168
Function: _error_handler

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/controllers/Main.php
Line: 431
Function: get_cat_product

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/controllers/Main.php
Line: 261
Function: details

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/Product_details.php

Line Number: 56

Backtrace:

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/models/Product_details.php
Line: 56
Function: _error_handler

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/controllers/Main.php
Line: 447
Function: get_left

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/controllers/Main.php
Line: 261
Function: details

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/Product_details.php

Line Number: 57

Backtrace:

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/models/Product_details.php
Line: 57
Function: _error_handler

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/controllers/Main.php
Line: 447
Function: get_left

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/controllers/Main.php
Line: 261
Function: details

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 568

Backtrace:

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/models/Product_details.php
Line: 68
Function: get

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/controllers/Main.php
Line: 447
Function: get_left

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/application/controllers/Main.php
Line: 261
Function: details

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-IT/index.php
Line: 316
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 MySQL server version for the right syntax to use near 'GROUP BY `tbl_products`.`id_product`' at line 13

SELECT *, (tbl_products.quantity-SUM(tbl_invoice_product.quant)) as quant, `tbl_product_price`.`price` as `price_product`, `tbl_product_lng`.`title_lng` as `product` FROM `tbl_products` JOIN `tbl_product_price` ON `tbl_product_price`.`id_product` = `tbl_products`.`id_product` JOIN `tbl_product_img` ON `tbl_product_img`.`id_product` = `tbl_products`.`id_product` JOIN `tbl_invoice_product` ON `tbl_invoice_product`.`id_product` = `tbl_products`.`id_product` JOIN `tbl_product_lng` ON `tbl_product_lng`.`id_product` = `tbl_products`.`id_product` WHERE `tbl_product_price`.`id_prg` = 6 AND `tbl_products`.`shop_hide` =0 AND `tbl_products`.`id_pg` IS NULL AND `tbl_product_lng`.`id_lng` = 7 AND `tbl_product_img`.`pic_thumb` = 1 AND `tbl_products`.`id_product` > GROUP BY `tbl_products`.`id_product`

Filename: models/Product_details.php

Line Number: 68