EllisLab/CodeIgniter — Issue #1101: Can not get field_data from $query
Author: jsding
Created: 2012-03-02 00:57:10+00:00
State: open

$query->field_data() cause following error:

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$Key

Filename: mysql/mysql_result.php

Line Number: 99

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$Type

Filename: mysql/mysql_result.php

Line Number: 92

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$Field

Filename: mysql/mysql_result.php

Line Number: 95

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$Default

Filename: mysql/mysql_result.php

Line Number: 97

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$Key

Filename: mysql/mysql_result.php

Line Number: 99