A PHP Error was encountered

Severity: Notice

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

Filename: controllers/cases.php

Line Number: 60

Backtrace:

File: /alidata/kld/boc/site/controllers/cases.php
Line: 60
Function: _error_handler

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

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

File: /alidata/kld/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/cases.php

Line Number: 65

Backtrace:

File: /alidata/kld/boc/site/controllers/cases.php
Line: 65
Function: _error_handler

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

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

File: /alidata/kld/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/cases.php

Line Number: 65

Backtrace:

File: /alidata/kld/boc/site/controllers/cases.php
Line: 65
Function: _error_handler

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

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

File: /alidata/kld/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/cases.php

Line Number: 74

Backtrace:

File: /alidata/kld/boc/site/controllers/cases.php
Line: 74
Function: _error_handler

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

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

File: /alidata/kld/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/cases.php

Line Number: 79

Backtrace:

File: /alidata/kld/boc/site/controllers/cases.php
Line: 79
Function: _error_handler

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

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

File: /alidata/kld/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/boc/libs/ci/core/Exceptions.php:275)

Filename: core/Common.php

Line Number: 575

Backtrace:

File: /alidata/kld/boc/site/controllers/cases.php
Line: 81
Function: query

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

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

File: /alidata/kld/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 and b.is_del=0 order by b.sort_id desc' at line 3

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

Filename: controllers/cases.php

Line Number: 81