Thread "Error Upon Login"

Tabs

  • Deleted
    Deleted | 9. May 2019, 18:46
    Error Upon Login
    Hello, I just installed ILIAS with CPanel using Softaculous. I am running PHP 7.3.

    I get an error consistenly upon logging in. When I check the logfiles, I see the following:

    Whoops\Exception\ErrorException thrown with message ""continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?" Stacktrace: #13 Whoops\Exception\ErrorException in /home/gorninfo/public_html/training/Services/PersonalDesktop/ItemsBlock/classes/class.ilPDSelectedItemsBlockGUI.php:781 #12 Whoops\Run:handleError in /home/gorninfo/public_html/training/Services/Init/classes/class.ilErrorHandling.php:477 #11 ilErrorHandling:handlePreWhoops in /home/gorninfo/public_html/training/Modules/StudyProgramme/classes/class.ilPDStudyProgrammeSimpleListGUI.php:7 #10 require_once in /home/gorninfo/public_html/training/Modules/StudyProgramme/classes/class.ilPDStudyProgrammeSimpleListGUI.php:7 #9 include_once in /home/gorninfo/public_html/training/Services/Block/classes/class.ilColumnGUI.php:568 #8 ilColumnGUI:showBlocks in /home/gorninfo/public_html/training/Services/Block/classes/class.ilColumnGUI.php:535 #7 ilColumnGUI:getHTML in /home/gorninfo/public_html/training/Services/UICore/classes/class.ilCtrl.php:262 #6 ilCtrl:getHTML in /home/gorninfo/public_html/training/Services/PersonalDesktop/classes/class.ilPersonalDesktopGUI.php:409 #5 ilPersonalDesktopGUI:getCenterColumnHTML in /home/gorninfo/public_html/training/Services/PersonalDesktop/classes/class.ilPersonalDesktopGUI.php:328 #4 ilPersonalDesktopGUI:show in /home/gorninfo/public_html/training/Services/PersonalDesktop/classes/class.ilPersonalDesktopGUI.php:614 #3 ilPersonalDesktopGUI:jumpToSelectedItems in /home/gorninfo/public_html/training/Services/PersonalDesktop/classes/class.ilPersonalDesktopGUI.php:294 #2 ilPersonalDesktopGUI:executeCommand in /home/gorninfo/public_html/training/Services/UICore/classes/class.ilCtrl.php:215 #1 ilCtrl:forwardCommand in /home/gorninfo/public_html/training/Services/UICore/classes/class.ilCtrl.php:179 #0 ilCtrl:callBaseClass in /home/gorninfo/public_html/training/ilias.php:20

    I searched these forums using the Whoops error in the first line, but found no results. If anyone has suggestions, I would be greatful. Thank you.
  • Deleted
    Deleted | 9. May 2019, 19:26
    Downgrading to PHP 7.2 fixed the issue
    I'm not sure how this fixed it, but downgrading to PHP version 7.2 fixed the issue.
  • fschmid
    fschmid | fschmid | 9. May 2019, 19:33
    Re: Downgrading to PHP 7.2 fixed the issue
    Hi!

    PHP 7.3 has had some breaking changes over PHP 7.2, one of which is the behavior in so-called switch statements:
    https://www.php.net/manual/de/migration73.incompatible.php

    Which ILIAS version do you use? If you are using ILIAS 5.4.x, you can report the bug in the bug tracker, because ILIAS 5.4 also supports PHP7.3: https://github.com/ILIAS-eLearning/ILIAS/blob/release_5-4/docs/configuration/install.md#php
    You can report bugs here: https://mantis.ilias.de/

    best regards

    Fabian

  • fschmid
    fschmid | fschmid | 9. May 2019, 19:35
    Re (2): Downgrading to PHP 7.2 fixed the issue
    If you want to get paid support for the installation of ILIAS, you will find a list of competent service providers under the following link: https://www.ilias.de/lms-ilias-profi-support/ 
  • Deleted
    Deleted | 9. May 2019, 20:34
    Re: Downgrading to PHP 7.2 fixed the issue
    Thank you Fabian. I am running 5.4.0. Perhaps upgrading to 5.4.2 will fix the issue. I will test with the latest 5.4.2 version before creating a bug report. Thank you.
  • fschmid
    fschmid | fschmid | 9. May 2019, 20:40
    Re (2): Downgrading to PHP 7.2 fixed the issue
    Good idea, I thought we had a pull request on this topic a few days ago, so it may well be that the problem has already been solved.
  • fschmid
    fschmid | fschmid | 9. May 2019, 23:39
    Re: Re (2): Downgrading to PHP 7.2 fixed the issue
    I have briefly checked this because of my own project, unfortunately ILIAS 5.4.2 doesn't seem to be PHP7.3 compatible at this point yet. It would be great if you could do a bug report.