Join tables error - need help please

And that is a pitty. For example, I am not a programmer, I was used to make some simple HTML/PHP/CSS pages, write some code in the R and MATLAB (data evaluation) and I offered to my boss to make a simple database system based on CakePHP (just a database of issued rulings, people who are allowed to do some activities etc.). I know very little from cakephp but I like it very much. I believe that if there was a good “study book” and not only “cake reference cookbook”, cakephp would be used more widely.

By the way, is there any online paid course of cakephp where I could enroll? Tought simply and by “real” experts in cakephp?