Chris Tate-Davies

An archive of helpful tit bits of information for development, and probably some stuff that is incomplete, wrong or boring…

Message: [Syntax Error] Expected PlainValue, got ”’ at position x in property {model}

Posted on | December 14, 2011 | No Comments

Was getting the above error in my Doctrine project, turned out I had used a single quote in the ORM Annotations:

    /**
     * @ORM\Column(type='integer', name='row_number')
     * @var int
     */
    protected $rowNumber;

Your ORM Annotations must be double quotes ” to allow the read ahead to read ahead…

 

 

Comments

Leave a Reply