PHP notice

Undefined index:

/kunden/293821_8021/web/4161361/A4161361/hermes-immobilier.ch/protected/components/CData.php(294)

282 
283             default:
284                 //format number
285                 if (array_key_exists('format', $idx[$key])) {
286                     switch ($idx[$key]['format'][0]) {
287                         case 'number':
288                             if ($key != 'selling_price') {
289                                 $val = (float)number_format($val, $idx[$key]['format'][1], '.', "'");
290                             } else {
291                                 $val = is_numeric($val) ? $item['currency'] . ' ' . number_format($val, $idx[$key]['format'][1], '.', "'").'.-' : Yii::t('base', 'Price on request');
292                                 //unit price
293                                 $unitPrice = Yii::app()->data->unitPrice();
294                                 $val .= $unitPrice[$item['price_unit']][Yii::app()->user->getState('lang')];
295                             }
296 
297                             break;
298 
299                         default:
300                             break;
301                     }
302                 }
303                 //unité
304                 if (array_key_exists('unit', $idx[$key])) {
305                     $val .= " " . $idx[$key]['unit'];
306                 }

Stack Trace

#0
+
–
 /kunden/293821_8021/web/4161361/A4161361/hermes-immobilier.ch/themes/intense/views/site/detail.php(81): CData->get_value("selling_price", "CHF 890'000.-", array("version" => "IDX3.01", "sender_id" => "OHUHO v2.0", "object_category" => "HOUSE", "object_type" => "12", ...))
76                                         if ($value != '' || $key == 'selling_price') {
77                                             if($key == 'surface_usable' && $object['offer_type'] == 'RENT') {
78                                                 echo('<tr><th>' . Yii::t('base', 'Rental area') . '</th><td>' . Yii::app()->data->get_value($key, $value, $object) . '</td></tr>'."\r\n");
79                                             }
80                                             else {
81                                                 echo('<tr><th>' . $idx3[$key][Yii::app()->user->getState('lang')] . '</th><td>' . Yii::app()->data->get_value($key, $value, $object) . '</td></tr>'."\r\n");
82                                             }
83                                         }
84                                     }
85                                 }
86                                 ?>
#5
+
–
 /kunden/293821_8021/web/4161361/A4161361/hermes-immobilier.ch/protected/controllers/SiteController.php(263): CController->render("detail", array("object" => array("version" => "IDX3.01", "sender_id" => "OHUHO v2.0", "object_category" => "HOUSE", "object_type" => "12", ...), "idx3" => array("version" => array(), "sender_id" => array(), "object_category" => array(), "object_type" => array(), ...), "images" => array("orig_Vente-Grone-Maison-Chalet-5-pieces-ee65f205efb90fbade35462b...", "orig_Vente-Grone-Maison-Chalet-5-pieces-8b29918cbb922a5bd6b7e76b...", "orig_Vente-Grone-Maison-Chalet-5-pieces-3cebff046547aed17ff6106f...", "orig_Vente-Grone-Maison-Chalet-5-pieces-a0f39b9901e381d80c8a9d17...", ...), "imgTtitles" => array("Chalet, 5.5 pièces, 174.00 m2", "Chalet, 5.5 pièces", "Chalet, 5.5 pièces, 174.00 m2", "Chalet, 5.5 pièces", ...), ...))
258             'idx3' => $idx3,
259             'images' => $images,
260             'imgTtitles' => $imgTitles,
261             'rooms' => $rooms,
262             'alt' => $alt,
263             'title' => $alt
264         ));
265     }
266 
267     /**
268      * This is the action to handle external exceptions.
#15
+
–
 /kunden/293821_8021/web/4161361/A4161361/hermes-immobilier.ch/index.php(14): CApplication->run()
09 defined('YII_DEBUG') or define('YII_DEBUG',true);
10 // specify how many levels of call stack should be shown in each log message
11 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
12 
13 require_once($yii);
14 Yii::createWebApplication($config)->run();
2024-03-28 11:55:51 Apache Yii Framework/1.1.22