1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dismiss Notice
What Do You Need In The Xf2 Xengallery Version? Vote for your choices here: http://www.sonnb.com/threads/what-do-you-need-in-the-xf2-xengallery-version.1539/

Fixed Keep Getting This Server Error, Can It Be "ignored"?

Discussion in 'Bug Reports' started by zoldos, Apr 20, 2017.

  1. zoldos

    zoldos Authorized Member Authorized

    I'm still using Gallery 2.5.5 as my license expired (and I've modified some of the mod's source code), but I was just wondering if this "error" can be safely ignored? I get it on the backend quite often but no one has reported any issues using the gallery. 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
    [B]Stack Trace[/B]
    #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}
    [B]Request State[/B]
    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 cunt.  SO adorable!"
        ["_xfToken"] => string(8) "********"
        ["_xfRequestUri"] => string(40) "/index.php?gallery/photos/96110f0.36900/"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfResponseType"] => string(4) "json"
      }
    }
    
     
  2. sonnb

    sonnb Administrator Staff Member

    Basically yes because it does not make the data lost or make the data unable to be saved. It just cannot display the liked people. Let me see if it is a bug in the current release. If yes, I can tell you how to fix for your current version.
     
    zoldos likes this.
  3. zoldos

    zoldos Authorized Member Authorized

    Okay thanks, that would be awesome, as many members rely on the "like" feature in albums! :)
     
  4. sonnb

    sonnb Administrator Staff Member

    Don't worry. This is not the album like, photo like or even comment like. It is the error when you edit a comment where the like feature never be used.
     
    zoldos likes this.
  5. zoldos

    zoldos Authorized Member Authorized

    Ah, gotcha... :D
     

Share This Page