![]() |
Error Model ? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Model-View-Controller (https://forum.codeigniter.com/forumdisplay.php?fid=10) +--- Thread: Error Model ? (/showthread.php?tid=62385) |
Error Model ? - gucamargo - 07-08-2015 Hello everyone, I'm doing the migration of codeigniter to the current version and when I migrated my file so it appears this error: Code: Severity: Runtime Notice I'm racking my brain and do not know what could be. thanks RE: Error Model ? - CroNiX - 07-08-2015 Are you doing something like: class Promocional_model extends Default_model? With a getSome() method in each one? If so, getSome() would need the same number and type of arguments passed to it in both classes. This may be useful: http://stackoverflow.com/questions/3115388/declaration-of-methods-should-be-compatible-with-parent-methods-in-php RE: Error Model ? - Dracula - 07-08-2015 Can you past the model content? Does your model name is ucfirst, if not, do it. |