hi all, I use cakephp 2.4, php 5.6, sqlserver2012, window 10, 64bit. when i call $ this ->(model name)->find(‘all’), i have exception: "Call to a member function find() on null ". Table name and model name is exactly. Can you help me! Thanks all!
Show full code. May be it’s miss typeing in Model name.
You can see all tables (with Cake eyes :)) in console cake bake after chose -> Create model -> defaul dataSource - but don’t save Model it’s rewrites your existing model.