Deprecated: Function Phalcon\Mvc\Model\Validator::__construct() is deprecated in /home/canhcovang/live_en/app/datasource/model/Tag.php on line 31

Fatal error: Uncaught TypeError: Argument 1 passed to Phalcon\Mvc\Model::validate() must implement interface Phalcon\ValidationInterface, instance of Phalcon\Mvc\Model\Validator\Uniqueness given in /home/canhcovang/live_en/app/datasource/model/Tag.php:31 Stack trace: #0 /home/canhcovang/live_en/app/datasource/model/Tag.php(31): Phalcon\Mvc\Model->validate(Object(Phalcon\Mvc\Model\Validator\Uniqueness)) #1 [internal function]: ITECH\Datasource\Model\Tag->validation() #2 [internal function]: Phalcon\Mvc\Model->fireEventCancel('validation') #3 [internal function]: Phalcon\Mvc\Model->_preSave(Object(Phalcon\Mvc\Model\MetaData\Apcu), true, 'id') #4 [internal function]: Phalcon\Mvc\Model->save(NULL, NULL) #5 /home/canhcovang/live_en/app/home/controller/ArticleController.php(1301): Phalcon\Mvc\Model->update() #6 [internal function]: ITECH\Home\Controller\ArticleController->tagListAction('vietfood-bevera...') #7 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(ITECH\Home\Controller\ArticleController), 'tagListActi in /home/canhcovang/live_en/app/datasource/model/Tag.php on line 31