Trying to get property of non-object When a user try to login

  • Betroffene Version
    WoltLab Suite 3.0
    Aufgerufene URL
    /cms/index.php?login/
    Referrer
    https://www.woltlab.it/cms/index.php?login/
    WoltLab Suite
    3.0.0 RC 1
    PHP
    7.0.14
    Fehlermeldung
    Trying to get property of non-object
    Art
    wcf\system\exception\ErrorException
    Datei (Zeile)
    /var/www/vhosts/woltlab.it/httpdocs/www.woltlab.it/cms/lib/system/WCF.class.php (294)
    Stacktrace
    1. /var/www/vhosts/woltlab.it/httpdocs/www.woltlab.it/cms/lib/system/WCF.class.php (695): wcf\system\WCF::handleError(…)
    2. /var/www/vhosts/woltlab.it/httpdocs/www.woltlab.it/cms/lib/system/session/SessionHandler.class.php (734): wcf\system\WCF::setLanguage(…)
    3. /var/www/vhosts/woltlab.it/httpdocs/www.woltlab.it/cms/lib/form/LoginForm.class.php (47): wcf\system\session\SessionHandler->changeUser(…)
    4. /var/www/vhosts/woltlab.it/httpdocs/www.woltlab.it/cms/lib/form/AbstractForm.class.php (61): wcf\form\LoginForm->save(…)
    5. /var/www/vhosts/woltlab.it/httpdocs/www.woltlab.it/cms/lib/acp/form/LoginForm.class.php (146): wcf\form\AbstractForm->submit(…)
    6. /var/www/vhosts/woltlab.it/httpdocs/www.woltlab.it/cms/lib/form/AbstractForm.class.php (112): wcf\acp\form\LoginForm->submit(…)
    7. /var/www/vhosts/woltlab.it/httpdocs/www.woltlab.it/cms/lib/form/AbstractCaptchaForm.class.php (67): wcf\form\AbstractForm->readData(…)
    8. /var/www/vhosts/woltlab.it/httpdocs/www.woltlab.it/cms/lib/acp/form/LoginForm.class.php (226): wcf\form\AbstractCaptchaForm->readData(…)
    9. /var/www/vhosts/woltlab.it/httpdocs/www.woltlab.it/cms/lib/page/AbstractPage.class.php (268): wcf\acp\form\LoginForm->readData(…)
    10. /var/www/vhosts/woltlab.it/httpdocs/www.woltlab.it/cms/lib/page/AbstractPage.class.php (97): wcf\page\AbstractPage->show(…)
    11. /var/www/vhosts/woltlab.it/httpdocs/www.woltlab.it/cms/lib/acp/form/LoginForm.class.php (66): wcf\page\AbstractPage->__run(…)
    12. /var/www/vhosts/woltlab.it/httpdocs/www.woltlab.it/cms/lib/system/request/Request.class.php (83): wcf\acp\form\LoginForm->__run(…)
    13. /var/www/vhosts/woltlab.it/httpdocs/www.woltlab.it/cms/lib/system/request/RequestHandler.class.php (94): wcf\system\request\Request->execute(…)
    14. /var/www/vhosts/woltlab.it/httpdocs/www.woltlab.it/cms/index.php (9): wcf\system\request\RequestHandler->handle(…)

    How do I fix it?

  • On the first look, it's look like something with your translation went wrong(The Suite can't set the language id to the one you've requested(or set in your settings)). Maybe try the english language?

  • it's strange, I switch on english and the error is the same present.


    EDIT: I tried to deactive the Italian language and set by default English language, but the error continue. It is the same with deactive the English and set by default Italian language.

    EDIT2: The error is not present for my account. *Administrator*

    EDIT3: And the error is not present for new user.


    EDIT 3 PROBLEM IS FIXED: e problem was given by the transition from wbb4.1.2 to wsc3. The ID of language is different and for this reason there was the error.

    For fix the problem i go to the db and run this query:

    SQL
    UPDATE `wcf1_user` SET `languageID`= 2

    Where "2" is the ID of Italian language ;)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!