![]() |
Undefined offset: 0 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Undefined offset: 0 (/showthread.php?tid=70968) |
Undefined offset: 0 - earvinnill - 06-22-2018 Hi I'm having a problem with my function in Model. But the error is referring to the Controller which focused on the function in the Model. I already make it work but then the problem is I've added argument and it triggered the undefined offset, then I revert it to original syntax, still the error occurs. Please help. Thank you. Error: https://pasteboard.co/Hr97Elz.png Controller: https://pasteboard.co/Hr97Elz.png Model: https://pasteboard.co/Hr9kYmR.png RE: Undefined offset: 0 - Pertti - 06-23-2018 (06-22-2018, 06:05 PM)earvinnill Wrote: Error: https://pasteboard.co/Hr97Elz.png You've accidentally pointed controller to error image, looks like pretty important part of trying to figure out what's going on ![]() RE: Undefined offset: 0 - dave friend - 06-26-2018 It would be easier to help if you would show some code. |