Mysqli statement execute error : Duplicate entry '14-1955' for key 'PRIMARY'
- Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 297
- Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
- Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 574
- Zend_Db_Adapter_Abstract->insert() in Nobita/Teams/Model/Post.php at line 892
- Nobita_Teams_Model_Post->watch() in Nobita/Teams/ControllerPublic/Post.php at line 456
- Nobita_Teams_ControllerPublic_Post->actionLike() in XenForo/FrontController.php at line 347
- XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
- XenForo_FrontController->run() in /home/emtvqmnh/public_html/index.php at line 13
Change log:
- Fixed minor bugs (Edit post with more options, like post, ...)
Fixed with empty new tab. Overidden all file as needed
Argument 3 passed to Nobita_Teams_Model_Post::canViewPostAndContainer() must be of the type array, null given, called in /home/emtvqmnh/public_html/library/Nobita/Teams/Model/Post.php on line 838 and defined
XenForo_Application::handlePhpError() in Nobita/Teams/Model/Post.php at line 654
Nobita_Teams_Model_Post->canViewPostAndContainer() in Nobita/Teams/Model/Post.php at line 838
Nobita_Teams_Model_Post->alertTaggedMembers() in Nobita/Teams/DataWriter/Post.php at line 226
Nobita_Teams_DataWriter_Post->_postSaveAfterTransaction() in XenForo/DataWriter.php at line 1423
XenForo_DataWriter->save() in Nobita/Teams/ControllerPublic/Team.php at line 1689
Nobita_Teams_ControllerPublic_Team->actionPost() in XenForo/FrontController.php at line 347
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /home/emtvqmnh/public_html/index.php at line 13
Hi @Nobita
after latets upgrade i have this error creating new Post, if i tag user with @
If not tag, the Post is sent ok.
Code:Argument 3 passed to Nobita_Teams_Model_Post::canViewPostAndContainer() must be of the type array, null given, called in /home/emtvqmnh/public_html/library/Nobita/Teams/Model/Post.php on line 838 and defined XenForo_Application::handlePhpError() in Nobita/Teams/Model/Post.php at line 654 Nobita_Teams_Model_Post->canViewPostAndContainer() in Nobita/Teams/Model/Post.php at line 838 Nobita_Teams_Model_Post->alertTaggedMembers() in Nobita/Teams/DataWriter/Post.php at line 226 Nobita_Teams_DataWriter_Post->_postSaveAfterTransaction() in XenForo/DataWriter.php at line 1423 XenForo_DataWriter->save() in Nobita/Teams/ControllerPublic/Team.php at line 1689 Nobita_Teams_ControllerPublic_Team->actionPost() in XenForo/FrontController.php at line 347 XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134 XenForo_FrontController->run() in /home/emtvqmnh/public_html/index.php at line 13
Please fix this soon
Thanks!
Antonio
Illegal offset type
XenForo_Application::handlePhpError() in bdTagMe/XenForo/Model/Alert.php at line 9
bdTagMe_XenForo_Model_Alert->alertUser() in XenForo/Model/Alert.php at line 426
XenForo_Model_Alert::alert() in Nobita/Teams/DataWriter/Comment.php at line 206
Nobita_Teams_DataWriter_Comment->_sendAlertToUsersWatchedOnPost() in Nobita/Teams/DataWriter/Comment.php at line 157
Nobita_Teams_DataWriter_Comment->_postSave() in XenForo/DataWriter.php at line 1409
XenForo_DataWriter->save() in Nobita/Teams/ControllerPublic/Post.php at line 408
Nobita_Teams_ControllerPublic_Post->actionComment() in XenForo/FrontController.php at line 347
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /home/emtvqmnh/public_html/index.php at line 13
Argument 3 passed to Nobita_Teams_Model_Post::canViewPostAndContainer() must be of the type array, null given, called in /home/emtvqmnh/public_html/library/Nobita/Teams/Model/Post.php on line 838 and defined
XenForo_Application::handlePhpError() in Nobita/Teams/Model/Post.php at line 654
Nobita_Teams_Model_Post->canViewPostAndContainer() in Nobita/Teams/Model/Post.php at line 838
Nobita_Teams_Model_Post->alertTaggedMembers() in Nobita/Teams/DataWriter/Post.php at line 226
Nobita_Teams_DataWriter_Post->_postSaveAfterTransaction() in XenForo/DataWriter.php at line 1423
XenForo_DataWriter->save() in Nobita/Teams/ControllerPublic/Team.php at line 1689
Nobita_Teams_ControllerPublic_Team->actionPost() in XenForo/FrontController.php at line 347
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /home/emtvqmnh/public_html/index.php at line 13
Illegal offset type
XenForo_Application::handlePhpError() in bdTagMe/XenForo/Model/Alert.php at line 9
bdTagMe_XenForo_Model_Alert->alertUser() in XenForo/Model/Alert.php at line 426
XenForo_Model_Alert::alert() in Nobita/Teams/DataWriter/Comment.php at line 206
Nobita_Teams_DataWriter_Comment->_sendAlertToUsersWatchedOnPost() in Nobita/Teams/DataWriter/Comment.php at line 157
Nobita_Teams_DataWriter_Comment->_postSave() in XenForo/DataWriter.php at line 1409
XenForo_DataWriter->save() in Nobita/Teams/ControllerPublic/Post.php at line 408
Nobita_Teams_ControllerPublic_Post->actionComment() in XenForo/FrontController.php at line 347
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /home/emtvqmnh/public_html/index.php at line 13
Summarizing
- if i disabled [XI] Tag and [bd] Tag Me addon the XF default user Tag function works ok and the post is posted, without fatal error
- if i enabled only [XI] Tag addon i have this error and the post is not posted:
Code:Argument 3 passed to Nobita_Teams_Model_Post::canViewPostAndContainer() must be of the type array, null given, called in /home/emtvqmnh/public_html/library/Nobita/Teams/Model/Post.php on line 838 and defined XenForo_Application::handlePhpError() in Nobita/Teams/Model/Post.php at line 654 Nobita_Teams_Model_Post->canViewPostAndContainer() in Nobita/Teams/Model/Post.php at line 838 Nobita_Teams_Model_Post->alertTaggedMembers() in Nobita/Teams/DataWriter/Post.php at line 226 Nobita_Teams_DataWriter_Post->_postSaveAfterTransaction() in XenForo/DataWriter.php at line 1423 XenForo_DataWriter->save() in Nobita/Teams/ControllerPublic/Team.php at line 1689 Nobita_Teams_ControllerPublic_Team->actionPost() in XenForo/FrontController.php at line 347 XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134 XenForo_FrontController->run() in /home/emtvqmnh/public_html/index.php at line 13
- if i enabled only [bd] Tag Me addon i have this error and the post is not posted;
Code:Illegal offset type XenForo_Application::handlePhpError() in bdTagMe/XenForo/Model/Alert.php at line 9 bdTagMe_XenForo_Model_Alert->alertUser() in XenForo/Model/Alert.php at line 426 XenForo_Model_Alert::alert() in Nobita/Teams/DataWriter/Comment.php at line 206 Nobita_Teams_DataWriter_Comment->_sendAlertToUsersWatchedOnPost() in Nobita/Teams/DataWriter/Comment.php at line 157 Nobita_Teams_DataWriter_Comment->_postSave() in XenForo/DataWriter.php at line 1409 XenForo_DataWriter->save() in Nobita/Teams/ControllerPublic/Post.php at line 408 Nobita_Teams_ControllerPublic_Post->actionComment() in XenForo/FrontController.php at line 347 XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134 XenForo_FrontController->run() in /home/emtvqmnh/public_html/index.php at line 13