PHP warning

file_get_contents(http://www.ongrace.com/mais/index.php/pastores/getpastores/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found

/var/www/ongrace/1653/vhosts/features-old-patrocinadores/site/protected/controllers/SiteController.php(308)

296             5 => 'Maio',
297             6 => 'Junho',
298             7 => 'Julho',
299             8 => 'Agosto',
300             9 => 'Setembro',
301             10 => 'Outubro',
302             11 => 'Novembro',
303             12 => 'Dezembro'
304         );
305 
306         //Obter lista de pastores
307 
308         $pastores = json_decode(file_get_contents($this->URL_ONGRACE_MAIS . 'index.php/pastores/getpastores/'));
309 
310         $pastores_array = array();
311 
312         foreach ($pastores as $pastor) {
313 
314             $pastores_array[$pastor->id] = $pastor->nome;
315         }
316 
317         //Obter o conteúdo da agenda
318 
319         $url = $this->URL_ONGRACE_MAIS . 'index.php/agenda/geteventosagendados/';
320 

Stack Trace

#0
+
 /var/www/ongrace/1653/vhosts/features-old-patrocinadores/site/protected/controllers/SiteController.php(308): file_get_contents("http://www.ongrace.com/mais/index.php/pastores/getpastores/")
303             12 => 'Dezembro'
304         );
305 
306         //Obter lista de pastores
307 
308         $pastores = json_decode(file_get_contents($this->URL_ONGRACE_MAIS . 'index.php/pastores/getpastores/'));
309 
310         $pastores_array = array();
311 
312         foreach ($pastores as $pastor) {
313 
#10
+
 /var/www/ongrace/1653/vhosts/features-old-patrocinadores/site/index.php(17): CApplication->run()
12 defined('YII_DEBUG') or define('YII_DEBUG', true);
13 // specify how many levels of call stack should be shown in each log message
14 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);
15 
16 require_once($yii);
17 Yii::createWebApplication($config)->run();
18 
19 
2024-03-19 03:38:22 Apache/2.4.7 (Ubuntu) Yii Framework/1.1.14