Monday, May 3, 2010

Error during baking of model - Fatal error: Call to undefined method File::getAssociated()

Hello,

I am trying to do a bake for the first time, and I am getting an error
when baking one of my models.

Here is what I am seeing....


Wrote `/usr/local/zend/apache2/htdocs/odm_20_bake/tests/fixtures/
category_fixture.php`
Bake is detecting possible fixtures..

Warning: dirname() expects parameter 1 to be string, array given in /
usr/local/cake/libs/file.php on line 100

Warning: is_dir() expects parameter 1 to be string, array given in /
usr/local/cake/libs/file.php on line 101

Warning: basename() expects parameter 1 to be string, array given in /
usr/local/cake/libs/file.php on line 102

Notice: Undefined property: File::$table in /usr/local/cake/libs/model/
model.php on line 660

Fatal error: Call to undefined method File::getAssociated() in /usr/
local/cake/console/libs/tasks/test.php on line 311


Any ideas?

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: