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…
Should be like:
/** * @ORM\Column(type="integer", name="row_number") * @var int */ protected $rowNumber;
Great tip! Saved me loads of time. I dont think I would have thought about changing the quotes.
Yes, it was very annoying. Glad it helped you.
Oh my god, you are my hero, even 3 years later…
Hah! Glad it was of help to you
Thank you!
the error was not that very helpful cause I had to find this first.
Anyway.. thanks! 🙂
We’re in 2017 and your post still saving pple, thank you it just saved me.
Thanks !! Your advice saved me much time!
Thank You Man! You’re awesome 🙂
Greate tips, save me alot of time, thanks 🙂
Never take this down, still saving people!
Thanks Man , you saved my Day !
This is the magic of the internet. Almost 10 years later and still helping people. The author could even already be dead, but his legacy lives on.
Well, thank you kindly sir. However, I am certainly not dead, thankfully still here.
Thanks to you 🙂