carino
Member
Hello,
I am not a programmer. I installed Xenforo for our Home Owner Associate community forum a couple of years ago and it has worked fine. No issues. Lately, people have not been receiving alerts when some one posts a new thread or reply to thread. I have checked the error log and found many entries. I cleared the error log and then posted a new thread to test the forum. Immediately after posting a new thread there are three pages of errors. They are the same.
I would greatly appreciate if anyone could help me. Right now, our forum is usable ... people can log in and view threads, post new threads, reply, etc. But no emails are going out. Here is an example of one of the errors in the error log.
Server Error Log
Error Info
ErrorException: Undefined index: user_id - library/XenForo/Model/ForumWatch.php:220
Stack Trace
#0 /hermes/bosnaweb27a/b401/ipw.carinoca/public_html/xenforo/library/XenForo/Model/ForumWatch.php(220): XenForo_Application::handlePhpError(8, 'Undefined index...', '/hermes/bosnawe...', 220, Array)
#1 /hermes/bosnaweb27a/b401/ipw.carinoca/public_html/xenforo/library/XenForo/DataWriter/DiscussionMessage/Post.php(176): XenForo_Model_ForumWatch->sendNotificationToWatchUsersOnMessage(Array, NULL, Array, Array)
#2 /hermes/bosnaweb27a/b401/ipw.carinoca/public_html/xenforo/library/XenForo/DataWriter.php(1423): XenForo_DataWriter_DiscussionMessage_Post->_postSaveAfterTransaction()
#3 /hermes/bosnaweb27a/b401/ipw.carinoca/public_html/xenforo/library/XenForo/DataWriter/Discussion.php(477): XenForo_DataWriter->save()
#4 /hermes/bosnaweb27a/b401/ipw.carinoca/public_html/xenforo/library/XenForo/DataWriter/Discussion.php(426): XenForo_DataWriter_Discussion->_saveFirstMessageDw()
#5 /hermes/bosnaweb27a/b401/ipw.carinoca/public_html/xenforo/library/XenForo/DataWriter.php(1409): XenForo_DataWriter_Discussion->_postSave()
#6 /hermes/bosnaweb27a/b401/ipw.carinoca/public_html/xenforo/library/XenForo/ControllerPublic/Forum.php(745): XenForo_DataWriter->save()
#7 /hermes/bosnaweb27a/b401/ipw.carinoca/public_html/xenforo/library/XenForo/FrontController.php(347): XenForo_ControllerPublic_Forum->actionAddThread()
#8 /hermes/bosnaweb27a/b401/ipw.carinoca/public_html/xenforo/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /hermes/bosnaweb27a/b401/ipw.carinoca/public_html/xenforo/index.php(13): XenForo_FrontController->run()
#10 {main}
Request State
array(3) {
["url"] => string(85) "http://www.carinocanyon.org/xenforo/index.php?forums/general-chat-forum.21/add-thread"
["_GET"] => array(1) {
["forums/general-chat-forum_21/add-thread"] => string(0) ""
}
["_POST"] => array(15) {
["prefix_id"] => string(1) "0"
["title"] => string(12) "another test"
["message_html"] => string(20) "<p>test only<br></p>"
["_xfRelativeResolver"] => string(88) "http://www.carinocanyon.org/xenforo/index.php?forums/general-chat-forum.21/create-thread"
["attachment_hash"] => string(32) "ee5b89e4d03b6604730549b7394ee194"
["watch_thread"] => string(1) "1"
["watch_thread_email"] => string(1) "1"
["watch_thread_state"] => string(1) "1"
["discussion_open"] => string(1) "1"
["_set"] => array(2) {
["discussion_open"] => string(1) "1"
["sticky"] => string(1) "1"
}
["poll"] => array(5) {
["question"] => string(0) ""
["responses"] => array(2) {
[0] => string(0) ""
[1] => string(0) ""
}
["max_votes_type"] => string(6) "single"
["change_vote"] => string(1) "1"
["view_results_unvoted"] => string(1) "1"
}
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(61) "/xenforo/index.php?forums/general-chat-forum.21/create-thread"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Thanks for your help.
Regards,
Steve
I am not a programmer. I installed Xenforo for our Home Owner Associate community forum a couple of years ago and it has worked fine. No issues. Lately, people have not been receiving alerts when some one posts a new thread or reply to thread. I have checked the error log and found many entries. I cleared the error log and then posted a new thread to test the forum. Immediately after posting a new thread there are three pages of errors. They are the same.
I would greatly appreciate if anyone could help me. Right now, our forum is usable ... people can log in and view threads, post new threads, reply, etc. But no emails are going out. Here is an example of one of the errors in the error log.
Server Error Log
Error Info
ErrorException: Undefined index: user_id - library/XenForo/Model/ForumWatch.php:220
Stack Trace
#0 /hermes/bosnaweb27a/b401/ipw.carinoca/public_html/xenforo/library/XenForo/Model/ForumWatch.php(220): XenForo_Application::handlePhpError(8, 'Undefined index...', '/hermes/bosnawe...', 220, Array)
#1 /hermes/bosnaweb27a/b401/ipw.carinoca/public_html/xenforo/library/XenForo/DataWriter/DiscussionMessage/Post.php(176): XenForo_Model_ForumWatch->sendNotificationToWatchUsersOnMessage(Array, NULL, Array, Array)
#2 /hermes/bosnaweb27a/b401/ipw.carinoca/public_html/xenforo/library/XenForo/DataWriter.php(1423): XenForo_DataWriter_DiscussionMessage_Post->_postSaveAfterTransaction()
#3 /hermes/bosnaweb27a/b401/ipw.carinoca/public_html/xenforo/library/XenForo/DataWriter/Discussion.php(477): XenForo_DataWriter->save()
#4 /hermes/bosnaweb27a/b401/ipw.carinoca/public_html/xenforo/library/XenForo/DataWriter/Discussion.php(426): XenForo_DataWriter_Discussion->_saveFirstMessageDw()
#5 /hermes/bosnaweb27a/b401/ipw.carinoca/public_html/xenforo/library/XenForo/DataWriter.php(1409): XenForo_DataWriter_Discussion->_postSave()
#6 /hermes/bosnaweb27a/b401/ipw.carinoca/public_html/xenforo/library/XenForo/ControllerPublic/Forum.php(745): XenForo_DataWriter->save()
#7 /hermes/bosnaweb27a/b401/ipw.carinoca/public_html/xenforo/library/XenForo/FrontController.php(347): XenForo_ControllerPublic_Forum->actionAddThread()
#8 /hermes/bosnaweb27a/b401/ipw.carinoca/public_html/xenforo/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /hermes/bosnaweb27a/b401/ipw.carinoca/public_html/xenforo/index.php(13): XenForo_FrontController->run()
#10 {main}
Request State
array(3) {
["url"] => string(85) "http://www.carinocanyon.org/xenforo/index.php?forums/general-chat-forum.21/add-thread"
["_GET"] => array(1) {
["forums/general-chat-forum_21/add-thread"] => string(0) ""
}
["_POST"] => array(15) {
["prefix_id"] => string(1) "0"
["title"] => string(12) "another test"
["message_html"] => string(20) "<p>test only<br></p>"
["_xfRelativeResolver"] => string(88) "http://www.carinocanyon.org/xenforo/index.php?forums/general-chat-forum.21/create-thread"
["attachment_hash"] => string(32) "ee5b89e4d03b6604730549b7394ee194"
["watch_thread"] => string(1) "1"
["watch_thread_email"] => string(1) "1"
["watch_thread_state"] => string(1) "1"
["discussion_open"] => string(1) "1"
["_set"] => array(2) {
["discussion_open"] => string(1) "1"
["sticky"] => string(1) "1"
}
["poll"] => array(5) {
["question"] => string(0) ""
["responses"] => array(2) {
[0] => string(0) ""
[1] => string(0) ""
}
["max_votes_type"] => string(6) "single"
["change_vote"] => string(1) "1"
["view_results_unvoted"] => string(1) "1"
}
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(61) "/xenforo/index.php?forums/general-chat-forum.21/create-thread"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Thanks for your help.
Regards,
Steve