Fixed Guest posting - server error


Well-known member
Sorry if this is a duplicate:

Allowing guest to post replies both in the forum permissions and user group permissions, will let them but pops up an error every time(unless I'm doing something wrong).


Server error:

ErrorException: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an array - library/XenForo/Model/ThreadWatch.php:151
Generated By: Unknown Account, 24 minutes ago

Jake Bunce

XenForo moderator
Staff member
Confirmed in 1.1.0 b2. Reply to a thread as a guest to reproduce the error:

array_merge() [function.array-merge]: Argument #1 is not an array
XenForo_Application::handlePhpError() in XenForo/Model/ThreadWatch.php at line 151
XenForo_Model_ThreadWatch->sendNotificationToWatchUsersOnReply() in XenForo/DataWriter/DiscussionMessage/Post.php at line 108
XenForo_DataWriter_DiscussionMessage_Post->_postSaveAfterTransaction() in XenForo/DataWriter.php at line 1379
XenForo_DataWriter->save() in XenForo/ControllerPublic/Thread.php at line 487
XenForo_ControllerPublic_Thread->actionAddReply() in XenForo/FrontController.php at line 310
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
XenForo_FrontController->run() in /home/mscclan/public_html/testxf11x/index.php at line 13