Welcome Guest, Not a member yet? Register   Sign In
Error Model ?
#1

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
Message: Declaration of Promocional_model::getSome() should be compatible with that of Default_model::getSome()

I'm racking my brain and do not know what could be.

thanks

Attached Files Thumbnail(s)
   
Reply
#2

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/31153...ods-in-php
Reply
#3

Can you past the model content?
Does your model name is ucfirst, if not, do it.
Romanian CodeIgniter Team :: Translations :: Comunity :: Developers
http://www.codeigniter.com.ro
Reply




Theme © iAndrew 2016 - Forum software by © MyBB