PHP notice

Undefined offset: 0

/var/www/iq/quimica/protected/views/site/form-inscr-evento.php(256)

244                                         </ul>
245                                         <?php echo $form->labelEx($Mresumo, 'autoresResumo'); ?>
246                                         <?php echo $form->textArea($Mresumo, 'autoresResumo', array('rows' => 2, 'cols' => 50, 'class' => 'form-control', 'id' => 'editor1')); ?>
247                                         <?php echo $form->error($Mresumo, 'autoresResumo'); ?>
248                                     </div>
249                                 </div>
250 
251                             </div>
252 
253                             <?php
254                             $params = array('id' => $idEvento);
255                             $params['title'] = $Meventos[0]['nomeEvento'];
256                             $params2 = array('id' => $Mcursos[0]['idCurso']);
257                             $params2['title'] = $Mcursos[0]['nomeCurso'];
258                             ?>
259 
260                             <div class="form-group clearfix col-lg-12 text-right remove-margin-bottom">
261                                 <?php echo CHtml::submitButton($model->isNewRecord ? 'Enviar' : 'Alterar', array('class' => 'btn btn-success btn-sm')); ?>
262                                 <?php echo CHtml::button('Programação', array('onclick' => 'location.replace("' . Yii::app()->createUrl('site/programacaoevento', $params) . '")', 'class' => 'btn btn-warning btn-sm')); ?>
263                                 <?php echo (empty($idCursos)) ? CHtml::button('Confirmado(s)', array('onclick' => 'location.replace("' . Yii::app()->createUrl('site/confirmacaoevento', $params2) . '")', 'class' => 'btn btn-info btn-sm')) : ""; ?>                                
264                             </div>
265 
266                             <?php $this->endWidget(); ?>
267 
268                         <?php endif; ?>

Stack Trace

#4
+
 /var/www/iq/quimica/protected/controllers/SiteController.php(1861): CController->render("form-inscr-evento", array("Multimas" => array(), "model" => Tbinscricao, "Mresumo" => Tbresumo, "idEvento" => "60", ...))
1856         $this->render('form-inscr-evento', array('Multimas' => $Multimas,
1857             'model' => $model,
1858             'Mresumo' => $Mresumo,
1859             'idEvento' => $idEvento,
1860             'idCursos' => $idCursos,
1861             'Mano' => $Mano,));
1862     }
1863 
1864     /* .... FIM EVENTOS .... */
1865 
1866     /* .... CERTIFICADO .... */
#12
+
 /var/www/iq/quimica/index.php(13): CApplication->run()
08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 require_once($yii);
13 Yii::createWebApplication($config)->run();
2024-03-28 11:57:06 Apache Yii Framework/1.1.15