Notice (8): Undefined variable: XML [APP/Lib/Routing/Route/UrlRoute.php, line 15]Code Context
foreach($XML->pages->page as $page){
$url = '/sitemap.xml'
$params = array(
'controller' => 'projects',
'action' => 'page'
)
UrlRoute::parse() - APP/Lib/Routing/Route/UrlRoute.php, line 15
Router::parse() - CORE/Cake/Routing/Router.php, line 613
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - APP/webroot/index.php, line 92
Notice (8): Trying to get property of non-object [APP/Lib/Routing/Route/UrlRoute.php, line 15]Code Context
foreach($XML->pages->page as $page){
$url = '/sitemap.xml'
$params = array(
'controller' => 'projects',
'action' => 'page'
)
UrlRoute::parse() - APP/Lib/Routing/Route/UrlRoute.php, line 15
Router::parse() - CORE/Cake/Routing/Router.php, line 613
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - APP/webroot/index.php, line 92
Notice (8): Trying to get property of non-object [APP/Lib/Routing/Route/UrlRoute.php, line 15]Code Context
foreach($XML->pages->page as $page){
$url = '/sitemap.xml'
$params = array(
'controller' => 'projects',
'action' => 'page'
)
UrlRoute::parse() - APP/Lib/Routing/Route/UrlRoute.php, line 15
Router::parse() - CORE/Cake/Routing/Router.php, line 613
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - APP/webroot/index.php, line 92
Warning (2): Invalid argument supplied for foreach() [APP/Lib/Routing/Route/UrlRoute.php, line 15]Code Context
foreach($XML->pages->page as $page){
$url = '/sitemap.xml'
$params = array(
'controller' => 'projects',
'action' => 'page'
)
UrlRoute::parse() - APP/Lib/Routing/Route/UrlRoute.php, line 15
Router::parse() - CORE/Cake/Routing/Router.php, line 613
Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 219
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 147
[main] - APP/webroot/index.php, line 92