A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Products.php

Line Number: 94

Backtrace:

File: /opt/lampp/beta/crm/modules/products/controllers/Products.php
Line: 94
Function: _error_handler

File: /opt/lampp/beta/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Creating default object from empty value

Filename: controllers/Products.php

Line Number: 94

Backtrace:

File: /opt/lampp/beta/crm/modules/products/controllers/Products.php
Line: 94
Function: _error_handler

File: /opt/lampp/beta/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$id

Filename: controllers/Products.php

Line Number: 95

Backtrace:

File: /opt/lampp/beta/crm/modules/products/controllers/Products.php
Line: 95
Function: _error_handler

File: /opt/lampp/beta/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$id

Filename: controllers/Products.php

Line Number: 96

Backtrace:

File: /opt/lampp/beta/crm/modules/products/controllers/Products.php
Line: 96
Function: _error_handler

File: /opt/lampp/beta/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$description

Filename: controllers/Products.php

Line Number: 97

Backtrace:

File: /opt/lampp/beta/crm/modules/products/controllers/Products.php
Line: 97
Function: _error_handler

File: /opt/lampp/beta/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$name

Filename: controllers/Products.php

Line Number: 106

Backtrace:

File: /opt/lampp/beta/crm/modules/products/controllers/Products.php
Line: 106
Function: _error_handler

File: /opt/lampp/beta/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$id

Filename: controllers/Products.php

Line Number: 107

Backtrace:

File: /opt/lampp/beta/crm/modules/products/controllers/Products.php
Line: 107
Function: _error_handler

File: /opt/lampp/beta/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$client_id

Filename: controllers/Products.php

Line Number: 108

Backtrace:

File: /opt/lampp/beta/crm/modules/products/controllers/Products.php
Line: 108
Function: _error_handler

File: /opt/lampp/beta/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$meta_title

Filename: controllers/Products.php

Line Number: 115

Backtrace:

File: /opt/lampp/beta/crm/modules/products/controllers/Products.php
Line: 115
Function: _error_handler

File: /opt/lampp/beta/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$meta_keyword

Filename: controllers/Products.php

Line Number: 117

Backtrace:

File: /opt/lampp/beta/crm/modules/products/controllers/Products.php
Line: 117
Function: _error_handler

File: /opt/lampp/beta/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$meta_description

Filename: controllers/Products.php

Line Number: 118

Backtrace:

File: /opt/lampp/beta/crm/modules/products/controllers/Products.php
Line: 118
Function: _error_handler

File: /opt/lampp/beta/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$client_id

Filename: controllers/Products.php

Line Number: 122

Backtrace:

File: /opt/lampp/beta/crm/modules/products/controllers/Products.php
Line: 122
Function: _error_handler

File: /opt/lampp/beta/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$sku

Filename: controllers/Products.php

Line Number: 122

Backtrace:

File: /opt/lampp/beta/crm/modules/products/controllers/Products.php
Line: 122
Function: _error_handler

File: /opt/lampp/beta/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 /opt/lampp/beta/crm/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /opt/lampp/beta/crm/models/Product_details_model.php
Line: 132
Function: query

File: /opt/lampp/beta/crm/modules/products/controllers/Products.php
Line: 122
Function: get_warehouse_stock

File: /opt/lampp/beta/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 'AND tblinventorysummary.description=''group by warehouse' at line 1

select warehouse,tblcrmwarehouselist.warehouse_name,sum(total_available_qty) stock,(select un from po_tblpurchaseitems left join tblinventorysummary on tblinventorysummary.po_item_id=po_tblpurchaseitems.id where tblinventorysummary.description='' limit 1)unit from tblinventorysummary left join tblcrmwarehouselist on tblcrmwarehouselist.id=tblinventorysummary.warehouse left join po_tblpurchases on tblinventorysummary.po_id=po_tblpurchases.id where po_tblpurchases.vendorid= AND tblinventorysummary.description=''group by warehouse

Filename: models/Product_details_model.php

Line Number: 132