I am new to Yii and am following the examples in “The Definitive Guide to Yii 2.0”.
I am currently stuck at section 2.6 Working with Databases. I have copied the codes from the guide and put them into the relevant places, but I am getting the attached error message -
Looks OK except quotes. The error message displays different code though and it displays code that is really executed. Maybe you have problems saving code or editing in the wrong place.