Fatal error: Call to undefined method PointWeb\PageBundle\Entity\Page::getPath()
500 Internal Server Error - FatalThrowableError
Stack Trace
-
in src/PointWeb/AppBundle/Controller/DefaultController.php at line 221
$start = 1;
$length = strlen($slug) - 2;
$slug = substr($slug, $start, $length);
$parameters[$slug] = $entity->{'get' . ucfirst($slug)}();
}
$url = new Url();
$url->setPriority('0.5');
-
at
DefaultController
->getUrls
()
in src/PointWeb/AppBundle/Controller/DefaultController.php at line 145 - at DefaultController ->sitemapAction ()
-
at
call_user_func_array
(array(object(DefaultController), 'sitemapAction'), array())
in app/bootstrap.php.cache at line 3054 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in app/bootstrap.php.cache at line 3016 -
at
HttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 3165 -
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 2406 -
at
Kernel
->handle
(object(Request))
in web/app.php at line 28