Fatal error: Cannot access protected property MaciejJeziorski\MichalPielatWebsiteBundle\Entity\Comment::$meme in /home/artif/ftp/DROPIK/src/MaciejJeziorski/MichalPielatWebsiteBundle/Controller/RatingsController.php on line 26
Error: Cannot access protected property MaciejJeziorski\MichalPielatWebsiteBundle\Entity\Comment::$meme (500 Internal Server Error)
Exception detected!

Error: Cannot access protected property MaciejJeziorski\MichalPielatWebsiteBundle\Entity\Comment::$meme

500 Internal Server Error - FatalErrorException

Stack Trace

  1. in src/MaciejJeziorski/MichalPielatWebsiteBundle/Controller/RatingsController.php at line 26  -
    1.         
    2.         $comment $this->getDoctrine()->getRepository("MaciejJeziorskiMichalPielatWebsiteBundle:Comment")->find($id);
    3.         if( null != $comment ) {
    4.             if( null != $comment->meme ) {
    5.                 $this->source    "MJMPWB_singlepage";
    6.                 $this->id        $comment->meme->id;
    7.             }

Logs  -

Stack Trace (Plain Text)  +