View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001831 | OXID eShop (all versions) | 4.08. Cache | public | 2010-05-18 10:52 | 2012-12-10 13:38 |
| Reporter | avenger | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Summary | 0001831: Invalid argument supplied for foreach() in \core\oxbase.php on line 1016 | ||||
| Description | Updaten form CE 4.2 to CE 4.3.1 This message appears, when the software tries to fetch "oxarticles_allfields_1" from cache, in that code... foreach ( $aMetaFields as $oVal ) { $aRet[strtolower( $oVal->name )] = 0; } aMetaFields is "FALSE" instead of being an array.... Wrapping the loop with a check for "is_array" stops the message. if (is_array($aMetaFields)) { foreach ( $aMetaFields as $oVal ) { $aRet[strtolower( $oVal->name )] = 0; } The "tmp"-directory was cleared.... } | ||||
| Tags | No tags attached. | ||||
| Theme | |||||
| Browser | All | ||||
| PHP Version | any | ||||
| Database Version | any | ||||