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

XF 1.4 Unexpected Error?

Discussion in 'Troubleshooting and Problems' started by Connor Smith, Sep 9, 2014.

  1. Connor Smith

    Connor Smith Active Member

    Upon upgrading to 1.4, I am getting a bunch of these errors on the error log:

    [​IMG]
     
  2. Connor Smith

    Connor Smith Active Member

    Ok it seems I am getting four errors all at once:

    Error Info
    ErrorException: unserialize() expects parameter 1 to be string, array given - library\XenForo\Model\DataRegistry.php:117
    Generated By: Unknown Account, A moment ago
    Stack Trace
    #0 [internal function]: XenForo_Application::handlePhpError(2, 'unserialize() e...', 'G:\\PleskVhosts\\...', 117, Array)
    #1 G:\PleskVhosts\vanticraft.org\httpdocs\community\library\XenForo\Model\DataRegistry.php(117): unserialize(Array)
    #2 G:\PleskVhosts\vanticraft.org\httpdocs\community\library\XenForo\Dependencies\Abstract.php(147): XenForo_Model_DataRegistry->getMulti(Array)
    #3 G:\PleskVhosts\vanticraft.org\httpdocs\community\library\XenForo\FrontController.php(127): XenForo_Dependencies_Abstract->preLoadData()
    #4 G:\PleskVhosts\vanticraft.org\httpdocs\community\index.php(13): XenForo_FrontController->run()
    #5 {main}
    Request State
    array(3) {
    ["url"] => string(39) "http://vanticraft.org/community/forums/"
    ["_GET"] => array(0) {
    }
    ["_POST"] => array(0) {
    }
    }

    Error Info
    ErrorException: unserialize() expects parameter 1 to be string, array given - library\XenForo\Model\DataRegistry.php:117
    Generated By: Unknown Account, 1 minute ago
    Stack Trace
    #0 [internal function]: XenForo_Application::handlePhpError(2, 'unserialize() e...', 'G:\\PleskVhosts\\...', 117, Array)
    #1 G:\PleskVhosts\vanticraft.org\httpdocs\community\library\XenForo\Model\DataRegistry.php(117): unserialize(Array)
    #2 G:\PleskVhosts\vanticraft.org\httpdocs\community\library\XenForo\Dependencies\Abstract.php(147): XenForo_Model_DataRegistry->getMulti(Array)
    #3 G:\PleskVhosts\vanticraft.org\httpdocs\community\deferred.php(16): XenForo_Dependencies_Abstract->preLoadData()
    #4 {main}
    Request State
    array(3) {
    ["url"] => string(44) "http://vanticraft.org/community/deferred.php"
    ["_GET"] => array(0) {
    }
    ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(38) "/community/admin.php?logs/server-error"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
    }
    }

    Error Info
    ErrorException: unserialize() expects parameter 1 to be string, array given - library\XenForo\Model\DataRegistry.php:117
    Generated By: Unknown Account, 1 minute ago
    Stack Trace
    #0 [internal function]: XenForo_Application::handlePhpError(2, 'unserialize() e...', 'G:\\PleskVhosts\\...', 117, Array)
    #1 G:\PleskVhosts\vanticraft.org\httpdocs\community\library\XenForo\Model\DataRegistry.php(117): unserialize(Array)
    #2 G:\PleskVhosts\vanticraft.org\httpdocs\community\library\XenForo\Dependencies\Abstract.php(147): XenForo_Model_DataRegistry->getMulti(Array)
    #3 G:\PleskVhosts\vanticraft.org\httpdocs\community\deferred.php(16): XenForo_Dependencies_Abstract->preLoadData()
    #4 {main}
    Request State
    array(3) {
    ["url"] => string(44) "http://vanticraft.org/community/deferred.php"
    ["_GET"] => array(0) {
    }
    ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(27) "/community/admin.php?tools/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
    }
    }

    Server Error Log
    Error Info
    ErrorException: unserialize() expects parameter 1 to be string, array given - library\XenForo\Model\DataRegistry.php:117
    Generated By: Unknown Account, 2 minutes ago
    Stack Trace
    #0 [internal function]: XenForo_Application::handlePhpError(2, 'unserialize() e...', 'G:\\PleskVhosts\\...', 117, Array)
    #1 G:\PleskVhosts\vanticraft.org\httpdocs\community\library\XenForo\Model\DataRegistry.php(117): unserialize(Array)
    #2 G:\PleskVhosts\vanticraft.org\httpdocs\community\library\XenForo\Dependencies\Abstract.php(147): XenForo_Model_DataRegistry->getMulti(Array)
    #3 G:\PleskVhosts\vanticraft.org\httpdocs\community\deferred.php(16): XenForo_Dependencies_Abstract->preLoadData()
    #4 {main}
    Request State
    array(3) {
    ["url"] => string(44) "http://vanticraft.org/community/deferred.php"
    ["_GET"] => array(0) {
    }
    ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(20) "/community/admin.php"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
    }
    }
     
  3. Mike

    Mike XenForo Developer Staff Member

    Do you have any add-ons? Are you using any sort of caching mechanism?

    Try rebuilding the master data via the <url>/install/ path.
     
  4. Connor Smith

    Connor Smith Active Member

    I have various add ons (list)

    I have rebuilt the master data and still get the same error.
     
  5. Connor Smith

    Connor Smith Active Member

    I seem to have fixed the issue. Thanks @Mike
     
  6. Mike

    Mike XenForo Developer Staff Member

    What did you change?
     
  7. Connor Smith

    Connor Smith Active Member

    First off I re-built the master data, then I disabled all of my add ons, and 1 by one allowed them again.
     

Share This Page