A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/product.php

Line Number: 77

Backtrace:

File: /alidata/kld/en/boc/site/controllers/product.php
Line: 77
Function: _error_handler

File: /alidata/kld/en/boc/site/core/MY_Controller.php
Line: 31
Function: detail

File: /alidata/kld/en/boc/site/index.php
Line: 250
Function: require_once

File: /alidata/kld/en/index.php
Line: 5
Function: include

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/product.php

Line Number: 82

Backtrace:

File: /alidata/kld/en/boc/site/controllers/product.php
Line: 82
Function: _error_handler

File: /alidata/kld/en/boc/site/core/MY_Controller.php
Line: 31
Function: detail

File: /alidata/kld/en/boc/site/index.php
Line: 250
Function: require_once

File: /alidata/kld/en/index.php
Line: 5
Function: include

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/product.php

Line Number: 82

Backtrace:

File: /alidata/kld/en/boc/site/controllers/product.php
Line: 82
Function: _error_handler

File: /alidata/kld/en/boc/site/core/MY_Controller.php
Line: 31
Function: detail

File: /alidata/kld/en/boc/site/index.php
Line: 250
Function: require_once

File: /alidata/kld/en/index.php
Line: 5
Function: include

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/product.php

Line Number: 91

Backtrace:

File: /alidata/kld/en/boc/site/controllers/product.php
Line: 91
Function: _error_handler

File: /alidata/kld/en/boc/site/core/MY_Controller.php
Line: 31
Function: detail

File: /alidata/kld/en/boc/site/index.php
Line: 250
Function: require_once

File: /alidata/kld/en/index.php
Line: 5
Function: include

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/product.php

Line Number: 93

Backtrace:

File: /alidata/kld/en/boc/site/controllers/product.php
Line: 93
Function: _error_handler

File: /alidata/kld/en/boc/site/core/MY_Controller.php
Line: 31
Function: detail

File: /alidata/kld/en/boc/site/index.php
Line: 250
Function: require_once

File: /alidata/kld/en/index.php
Line: 5
Function: include

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/product.php

Line Number: 99

Backtrace:

File: /alidata/kld/en/boc/site/controllers/product.php
Line: 99
Function: _error_handler

File: /alidata/kld/en/boc/site/core/MY_Controller.php
Line: 31
Function: detail

File: /alidata/kld/en/boc/site/index.php
Line: 250
Function: require_once

File: /alidata/kld/en/index.php
Line: 5
Function: include

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /alidata/kld/en/boc/libs/ci/core/Exceptions.php:275)

Filename: core/Common.php

Line Number: 575

Backtrace:

File: /alidata/kld/en/boc/site/controllers/product.php
Line: 101
Function: query

File: /alidata/kld/en/boc/site/core/MY_Controller.php
Line: 31
Function: detail

File: /alidata/kld/en/boc/site/index.php
Line: 250
Function: require_once

File: /alidata/kld/en/index.php
Line: 5
Function: include

Database Error

发生了一个数据库错误

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 'where b.audit=1 order by b.sort_id desc' at line 3

select DISTINCT(a.case_id) as id,b.title as title,b.photo as photo,b.description as description from en_boc_product_case a left join en_boc_infos b on a.case_id = b.id and a.product_id = where b.audit=1 order by b.sort_id desc

Filename: controllers/product.php

Line Number: 101