[v2] - getting Undefined property with model |
I have the following code which giving me Undefined property: Uploader::$mod_Photoalbums_model
PHP Code: <?php Photoalbum Model > On filesystem the name is lowercase PHP Code: class mod_Photoalbums_model extends MY_Model { Code: Severity: Notice Anyone ?
Read the section of the userguide dealing with Model naming.
Quote:Where Model_name is the name of your class. Class names must have the first letter capitalized with the rest of the name lowercase. Make sure your class extends the base Model class. (03-09-2015, 08:35 AM)CroNiX Wrote: Read the section of the userguide dealing with Model naming. Yeah I known, but this is old code. But I found it. In the __construct a library was loaded. This was causing the problem. |
Welcome Guest, Not a member yet? Register Sign In |