admin - Prestashop - Fatal error: Undefined class constant 'self::TYPE_STRING' -
i developing module in prestashop 1.6, extend admincontroller class, every thing nice.but when want display form permit add new instance error message displayed :
fatal error: undefined class constant 'self::type_string' in c:\xampp\htdocs\prestashop\classes\controller\admincontroller.php on line 1418
self::type_string
constant objectmodel
, not admincontroller
.
i don't know why you'd want use inside admincontroller
, if need to, change : objectmodel::type_string
.
keyword self
referes current class you're in (in admincontroller
)
Comments
Post a Comment