Exception detected!

Fatal error: Call to undefined method PointWeb\PageBundle\Entity\Page::getPath()

500 Internal Server Error - FatalThrowableError

Stack Trace

  1. in src/PointWeb/AppBundle/Controller/DefaultController.php at line 221  -
    1.                                     $start 1;
    2.                                     $length strlen($slug) - 2;
    3.                                     $slug substr($slug$start$length);
    4.                                     $parameters[$slug] = $entity->{'get' ucfirst($slug)}();
    5.                                 }
    6.                                 $url = new Url();
    7.                                 $url->setPriority('0.5');
  2. at DefaultController ->getUrls ()
    in src/PointWeb/AppBundle/Controller/DefaultController.php at line 145  +
  3. at DefaultController ->sitemapAction ()
  4. at call_user_func_array (array(object(DefaultController), 'sitemapAction'), array())
    in app/bootstrap.php.cache at line 3054  +
  5. at HttpKernel ->handleRaw (object(Request), '1')
    in app/bootstrap.php.cache at line 3016  +
  6. at HttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 3165  +
  7. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 2406  +
  8. at Kernel ->handle (object(Request))
    in web/app.php at line 28  +

Logs  -

Stack Trace (Plain Text)  +