Mehdib92 Posted April 24, 2013 Posted April 24, 2013 (edited) Hi, In my module (in development), when I'm on the form to add a new item, I have the error Notice: Object of class MyClass could not be converted to int in /Users/Mehdi/Sites/mysite/classes/ObjectModel.php on line 197 Notice: Object of class MyClass could not be converted to int in /Users/Mehdi/Sites/mysite/classes/ObjectModel.php on line 206 I guess those lines are use to create a cache file and it loads the whole class instead of the id. I don't see how to send the id instead of the whole class... Edited April 24, 2013 by Mehdib92 (see edit history) Share this post Link to post Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now