A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/Product_details.php

Line Number: 104

Backtrace:

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

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

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

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-DE/index.php
Line: 315
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: 110

Backtrace:

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

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

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

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: cat

Filename: models/Product_details.php

Line Number: 179

Backtrace:

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

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

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

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: subcat

Filename: models/Product_details.php

Line Number: 179

Backtrace:

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

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

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

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: subcatslug

Filename: models/Product_details.php

Line Number: 179

Backtrace:

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

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

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

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-DE/index.php
Line: 315
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: 58

Backtrace:

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

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

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

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-DE/index.php
Line: 315
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: 59

Backtrace:

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

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

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

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-DE/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 /var/www/vhosts/web73.web215.dogado.net/html/2017-DE/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 568

Backtrace:

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

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

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

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-DE/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 MySQL server version for the right syntax to use near 'GROUP BY `tbl_products`.`id_product` ORDER 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` = 2 AND `tbl_product_img`.`pic_thumb` = 1 AND `tbl_products`.`id_product` > GROUP BY `tbl_products`.`id_product` ORDER BY `tbl_products`.`id_product`

Filename: models/Product_details.php

Line Number: 71