Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error occuered when trying to create an existing tag, POST /tags #14

Open
crisone opened this issue Feb 8, 2016 · 0 comments
Open

error occuered when trying to create an existing tag, POST /tags #14

crisone opened this issue Feb 8, 2016 · 0 comments

Comments

@crisone
Copy link
Member

crisone commented Feb 8, 2016


Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'fff' for key 'tag_name_unique'' in /var/www/html/app/library/Service/Db.php:67 Stack trace: #0 /var/www/html/app/library/Service/Db.php(67): PDOStatement->execute(Array) #1 /var/www/html/app/library/Service/Db.php(152): Service\Db->init('INSERT INTO`tag...', Array) #2 /var/www/html/app/library/Model.php(359): Service\Db->execute('INSERT INTO`tag...', Array) #3 /var/www/html/app/library/Model.php(266): Model->execute('INSERT INTO`tag...', Array) #4 [internal function]: Model->insert(Array) #5 /var/www/html/app/models/Facade.php(130): call_user_func_array(Array, Array) #6 /var/www/html/app/controllers/Tags.php(40): FacadeModel::__callStatic('insert', Array) #7 /var/www/html/app/controllers/Tags.php(40): TagModel::insert(Array) #8 [internal function]: TagsController->POST_indexAction() #9 /var/www/html/index.php(4): Yaf_Application->run() #10 {main}

thrown in /var/www/html/app/library/Service/Db.php on line 67

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant