in reply to Re^7: Can't call method "find" on an undefined value
in thread Can't call method "find" on an undefined value
No idea. On the few occasions I've used Catalyst, I never had much need for Catalyst::Model. But that's what the error message is saying.
Can't call method "find" on an undefined value... means that you're effectively trying to do this:
undef->find($id)So the only thing that could be happening is that the model method is returning undef.
If you don't believe me, run the following Perl one-liner at the command line...
perl -e'undef->find(1)'And verify that you get the exact same error message.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Can't call method "find" on an undefined value
by Anonymous Monk on Jan 17, 2012 at 18:01 UTC |