Deprecated: Function Phalcon\Mvc\Model\Validator::__construct() is deprecated in /home/dochoi/live/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/dochoi/live/app/datasource/model/Tag.php:31
Stack trace:
#0 /home/dochoi/live/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/dochoi/live/app/home/controller/ArticleController.php(1121): Phalcon\Mvc\Model->update()
#6 [internal function]: ITECH\Home\Controller\ArticleController->tagListAction('qua-thoi-noi-ch...')
#7 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(ITECH\Home\Controller\ArticleController), 'tagListAction', Array)
#8 [inter in /home/dochoi/live/app/datasource/model/Tag.php on line 31