Viewing Issue Advanced Details
[ Jump to Notes ]
|
[ View Simple ]
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
0005823 |
[Quercus] |
block |
always |
11-10-14 06:19 |
11-10-14 06:19 |
|
Reporter |
extremia |
View Status |
public |
|
Assigned To |
|
Priority |
normal |
Resolution |
open |
Platform |
|
Status |
new |
|
OS |
Windows |
Projection |
none |
|
OS Version |
7 |
ETA |
none |
Fixed in Version |
|
Product Version |
4.0.36 |
|
Product Build |
|
|
Summary |
0005823: Fatal Error: Can't use object 'com.caucho.quercus.lib.db.MysqliResult' as array |
Description |
[14-11-10 15:58:47.052] {resin-port-8080-51} c:\Java\resin-pro-4.0.41\webapps\ROOT\webwidget\tilaus.yhteenveto.php:21: Fatal Error: Can't use object 'com.caucho.quercus.lib.db.MysqliResult' as array |
Steps To Reproduce |
Example code:
$smsChoiceValue = $_SESSION['user']['companyid'];
$sql = 'SELECT aySmsLaskutus FROM asiakasyritys LEFT JOIN tilaus on tilaus.tiYritId = ayId WHERE '.(!empty($smsChoiceValue) ? 'ayId = '.$smsChoiceValue : 'tilaus.tiSessionId = "'.$_SESSION['cust']['ordernumber'].'"'). ' LIMIT 1';
$result = $db1->Query($sql);
$checked = $result['deliver'][$i]['ttSms'] == true ? 'checked' : ''; |
Additional Information |
|
|
Attached Files |
|
|