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

XF 1.5 getting the below server error quite often

zoldos

Well-known member
#1
I get this backend server error (from various members) quite often. Does anyone know what it means? Thanks!

Code:
TypeError: Argument 4 passed to XenForo_Template_Helper_Core::helperLikesHtml() must be of the type array, null given, called in /var/www/vhosts/thetorturedsoul.net/httpdocs/library/XenForo/Template/Helper/Core.php on line 853 - library/XenForo/Template/Helper/Core.php:411
Generated By: A user, Today at 2:22 AM
Stack Trace
#0 /var/www/vhosts/thetorturedsoul.net/httpdocs/library/XenForo/Template/Helper/Core.php(853): XenForo_Template_Helper_Core::helperLikesHtml(1, 'index.php?galle...', NULL, NULL)
#1 /var/www/vhosts/thetorturedsoul.net/httpdocs/internal_data/templates/S.6,L.1,sonnb_xengallery_comment.php(158): XenForo_Template_Helper_Core::callHelper('likeshtml', Array)
#2 /var/www/vhosts/thetorturedsoul.net/httpdocs/library/XenForo/Template/Abstract.php(260): include('/var/www/vhosts...')
#3 /var/www/vhosts/thetorturedsoul.net/httpdocs/library/XenForo/Template/Abstract.php(191): XenForo_Template_Abstract->_renderInternal('/var/www/vhosts...', Array)
#4 /var/www/vhosts/thetorturedsoul.net/httpdocs/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
#5 /var/www/vhosts/thetorturedsoul.net/httpdocs/library/XenForo/Template/Abstract.php(528): XenForo_Template_Public->render()
#6 /var/www/vhosts/thetorturedsoul.net/httpdocs/library/XenForo/ViewRenderer/Json.php(209): XenForo_Template_Abstract->__toString()
#7 /var/www/vhosts/thetorturedsoul.net/httpdocs/library/XenForo/ViewRenderer/Json.php(171): XenForo_ViewRenderer_Json::_stringifyObjectsInArray(Array)
#8 /var/www/vhosts/thetorturedsoul.net/httpdocs/library/sonnb/XenGallery/ViewPublic/Comment/EditInline.php(29): XenForo_ViewRenderer_Json::jsonEncodeForOutput(Array)
#9 /var/www/vhosts/thetorturedsoul.net/httpdocs/library/XenForo/ViewRenderer/Abstract.php(227): sonnb_XenGallery_ViewPublic_Comment_EditInline->renderJson()
#10 /var/www/vhosts/thetorturedsoul.net/httpdocs/library/XenForo/ViewRenderer/Json.php(88): XenForo_ViewRenderer_Abstract->renderViewObject('WidgetFramework...', 'Json', Array, '')
#11 /var/www/vhosts/thetorturedsoul.net/httpdocs/library/XenForo/FrontController.php(604): XenForo_ViewRenderer_Json->renderView('sonnb_XenGaller...', Array, '', NULL)
#12 /var/www/vhosts/thetorturedsoul.net/httpdocs/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_Json), Array)
#13 /var/www/vhosts/thetorturedsoul.net/httpdocs/index.php(13): XenForo_FrontController->run()
#14 {main}
Request State
array(3) {
  ["url"] => string(65) "https://thetorturedsoul.net/index.php?gallery/comments/24220/edit"
  ["_GET"] => array(1) {
   ["gallery/comments/24220/edit"] => string(0) ""
  }
  ["_POST"] => array(5) {
   ["message"] => string(65) "Squeezing her knees together to "protect" her ****.  SO adorable!"
   ["_xfToken"] => string(8) "********"
   ["_xfRequestUri"] => string(40) "/index.php?gallery/photos/96110f0.36900/"
   ["_xfNoRedirect"] => string(1) "1"
   ["_xfResponseType"] => string(4) "json"
  }
}