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

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/congtyquatang/live/app/datasource/model/Tag.php:36 Stack trace: #0 /home/congtyquatang/live/app/datasource/model/Tag.php(36): 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\Apc), true, 'id') #4 [internal function]: Phalcon\Mvc\Model->save(NULL, NULL) #5 /home/congtyquatang/live/app/home/controller/ArticleController.php(1094): Phalcon\Mvc\Model->update() #6 [internal function]: ITECH\Home\Controller\ArticleController->tagListAction('vong-xoay-sat-p...') #7 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(ITECH\Home\Controller\ArticleController), 'tagListActio in /home/congtyquatang/live/app/datasource/model/Tag.php on line 36