A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/Product_details.php

Line Number: 100

Backtrace:

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

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

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

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-FR/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: 106

Backtrace:

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

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

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

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-FR/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: 169

Backtrace:

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

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

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

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-FR/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: 169

Backtrace:

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

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

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

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-FR/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: 169

Backtrace:

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

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

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

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-FR/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: 57

Backtrace:

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

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

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

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-FR/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-FR/application/models/Product_details.php
Line: 58
Function: _error_handler

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

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

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

Filename: core/Common.php

Line Number: 568

Backtrace:

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

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

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

File: /var/www/vhosts/web73.web215.dogado.net/html/2017-FR/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`' 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` = 3 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: 69