• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed  Error upon liking a post made by a deleted user.

TimWF

Active member
#1
If a user is deleted (users posts show up as guest then) there is still a like link in their posts. If this is clicked the following error is given:

Argument 1 passed to XenForo_Model_Alert::userReceivesAlert() must be an array, boolean given, called in /home/site/milepoint.com/www/forums/library/XenForo/Model/Like.php on line 206 and defined
  1. XenForo_Application::handlePhpError() in XenForo/Model/Alert.php at line 499
  2. XenForo_Model_Alert::userReceivesAlert() in XenForo/Model/Like.php at line 206
  3. XenForo_Model_Like->likeContent() in XenForo/ControllerPublic/Post.php at line 314
  4. XenForo_ControllerPublic_Post->actionLike() in XenForo/FrontController.php at line 310
  5. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
  6. XenForo_FrontController->run() in /home/site/milepoint.com/www/forums/index.php at line 15