Public bug reported:

https://dev.icinga.org/issues/10251

Related PHP7 compatibility issues were fixed in version 2.2.0 but Xenial
ships with 2.1.0. Essentially the software is unusable, setup crashes
right off the bat with:

Fatal error: Uncaught ErrorException: Only variables should be passed by
reference in /usr/share/php/Icinga/Util/Translator.php:259 Stack trace:
#0 /usr/share/php/Icinga/Util/Translator.php(259):
Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}(8,
'Only variables ...', '/usr/share/php/...', 259, Array) #1 [internal
function]: Icinga\Util\Translator::Icinga\Util\{closure}(Array, Array)
#2 /usr/share/php/Icinga/Util/Translator.php(261): usort(Array,
Object(Closure)) #3 /usr/share/php/Icinga/Application/Web.php(527):
Icinga\Util\Translator::getPreferredLocaleCode('en-US,en;q=0.8,...') #4
/usr/share/php/Icinga/Application/ApplicationBootstrap.php(610):
Icinga\Application\Web->detectLocale() #5
/usr/share/php/Icinga/Application/Web.php(92):
Icinga\Application\ApplicationBootstrap->setupInternationalization() #6
/usr/share/php/Icinga/Application/ApplicationBootstrap.php(337):
Icinga\Application\Web->bootstrap() #7
/usr/share/php/Icinga/Application/webrouter.php(109):
Icinga\Application\ApplicationBootstrap: in
/usr/share/php/Icinga/Util/Translator.php on line 259

** Affects: icingaweb2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1571402

Title:
  icingaweb2 2.1.0 fails to run with PHP7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/icingaweb2/+bug/1571402/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to