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

XF 1.1 XenPorta Quirk w/ Php 5.4

Discussion in 'Troubleshooting and Problems' started by dreadiscool, Feb 16, 2013.

  1. dreadiscool

    dreadiscool Member

    Hi guys,

    Whenever I try to edit the 'RecentNews' block for XenPorta, I get this error

    An exception occurred: Array to string conversion in /var/www/library/XenForo/Model/Node.php on line 1255
    1. XenForo_Application::handlePhpError()
    2. strval() in XenForo/Model/Node.php at line 1255
    3. XenForo_Model_Node->getNodeOptionsArray() in EWRporta/Option/ForumChooser.php at line 16
    4. EWRporta_Option_ForumChooser::renderOption()
    5. call_user_func() in XenForo/ViewAdmin/Helper/Option.php at line 327
    6. XenForo_ViewAdmin_Helper_Option::_renderCallbackOptionHtml() in XenForo/ViewAdmin/Helper/Option.php at line 71
    7. XenForo_ViewAdmin_Helper_Option::renderPreparedOptionHtml() in XenForo/ViewAdmin/Helper/Option.php at line 33
    8. XenForo_ViewAdmin_Helper_Option::renderPreparedOptionsHtml() in EWRporta/ViewAdmin/BlockOptions.php at line 21
    9. EWRporta_ViewAdmin_BlockOptions->renderHtml() in XenForo/ViewRenderer/Abstract.php at line 215
    10. XenForo_ViewRenderer_Abstract->renderViewObject() in XenForo/ViewRenderer/HtmlAdmin.php at line 63
    11. XenForo_ViewRenderer_HtmlAdmin->renderView() in XenForo/FrontController.php at line 533
    12. XenForo_FrontController->renderView() in XenForo/FrontController.php at line 156
    13. XenForo_FrontController->run() in /var/www/admin.php at line 13
    After some research, I came across a thread which pointed me to http://xenforo.com/community/threads/8wayrun-com-xenporta-portal.26838/page-38#post-377147. However, inside ForumChooser.php, I did not find the line of code to delete as specified, and wanted to know if there was a workaround, if at all.
    Thanks!
    -dreadiscool
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    What version of XenPorta? I checked a couple of versions including the latest. That line is there.
     
  3. Luis

    Luis Well-Known Member

Share This Page