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

XF 1.3 Class error on update from 1.3.0 to 1.3.1

Discussion in 'Installation, Upgrade, and Import Support' started by Teascu Dorin, Apr 9, 2014.

  1. Teascu Dorin

    Teascu Dorin Active Member

    I get this error when I try to update:

    Fatal error: Class name must be a valid object or a string in /home/content/**/*******/html/xen1dev/library/XenForo/Install/Controller/Upgrade.php on line 46
     
  2. Teascu Dorin

    Teascu Dorin Active Member

  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Hmm. I'm gonna say an addon is in play here. Try disabling addons before running the upgrade. Or you can disable addons at the code level by adding this line to your library/config.php file:

    Code:
    $config['enableListeners'] = 0;
    
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    The error relates to instantiating XenForo_Session. So make sure this file exists:

    library/XenForo/Session.php
     
  5. Teascu Dorin

    Teascu Dorin Active Member

    Yes. The problem was Session.php. Couldn't be uploaded by FileZilla. I had to uploaded by the hosting File Manager.
     
    Jake Bunce likes this.

Share This Page