PHP notice

Undefined index: pagina

/home4/siilhalal/public_html/br/noticias_page.php(7)

01 <?
02 /*********************************************************
03 *Controle de versao: 2.2
04 *********************************************************/
05 include("../gzip/gzipHTML.php"); 
06 include_once("../extranet/autoload.php");
07 $_GET['pagina'] = is_numeric( $_GET['pagina']) ? $_GET['pagina'] + 1 : 0;
08 $criteria = new CDbCriteria();
09 $criteria->order = 'idnoticia desc';
10 $criteria->addCondition( "ativo = 1" );
11 $data_provider = new CActiveDataProvider( 'Noticia', array(
12   'criteria' => $criteria,
13   'pagination' => array(
14     'route' => 'noticias?',
15     'pageSize' => 10,
16     'pageVar' => 'page',
17   ),
18 ) );
19 $noticias = $data_provider->getData();

Stack Trace

#0
+
 /home4/siilhalal/public_html/br/RequestManager.php(159): require_once("/home4/siilhalal/public_html/br/noticias_page.php")
154             Utf8::encode($html);
155             echo $html;
156             exit;
157         }
158 
159         require_once($require_file);
160         exit;
161     }
162 }
163 ?>
#1
+
 /home4/siilhalal/public_html/br/index.php(42): RequestManager->run(array("/empresa" => "empresa.php", "/imparcialidade" => "imparcialidade.php", "/certificadas" => "empresas-certificadas.php", "/certificacao" => "certificacao.php", ...))
37     '/index'=>'inicial.php',
38     '/inicial'=>'inicial.php',
39     '/(?P<url>\S+)'=>'inicial.php',
40 );
41 $request_manager = new RequestManager();
42 $request_manager->run($rotas);
43 exit;
2025-03-21 18:05:27 Apache Yii Framework/1.1.13