Public bug reported:

========= LSB-Release: ========= 
Description:    Ubuntu 18.04 LTS
Release:        18.04

========= apt-cache policy nagvis ==============
nagvis:
  Installed: 1:1.7.10+dfsg1-3.2
  Candidate: 1:1.7.10+dfsg1-3.2
  Version table:
 *** 1:1.7.10+dfsg1-3.2 500
        500 http://10.1.3.55/repo_18.04_2018-07-10__OS/ubuntu bionic/universe 
amd64 Packages
        100 /var/lib/dpkg/status

==> Repo is mirrord from Ubuntu and frozen with a BTRFS Snap.
==> Current Up2Date Repo tested. Bug is still in Ubuntu Repo.

========== Expected ============
Website of Nagvis should be able to load without an error.

========== Problem ============
PHP7 Error Message each()

Error: (0) The each() function is deprecated. This message will be
suppressed on further calls (/usr/share/nagvis/share/frontend/nagvis-
js/ext/dwoo-1.1.0/Dwoo/Compiler.php:2942)

#0 [internal function]: nagvisExceptionErrorHandler(8192, 'The each() func...', 
'/usr/share/nagv...', 2942, Array)
#1 
/usr/share/nagvis/share/frontend/nagvis-js/ext/dwoo-1.1.0/Dwoo/Compiler.php(2942):
 each(Array)
#2 
/usr/share/nagvis/share/frontend/nagvis-js/ext/dwoo-1.1.0/Dwoo/Compiler.php(985):
 Dwoo_Compiler->mapParams(Array, Array, 0)
#3 
/usr/share/nagvis/share/frontend/nagvis-js/ext/dwoo-1.1.0/Dwoo/Compiler.php(668):
 Dwoo_Compiler->addBlock('topLevelBlock', Array, 0)
#4 
/usr/share/nagvis/share/frontend/nagvis-js/ext/dwoo-1.1.0/Dwoo/Template/String.php(369):
 Dwoo_Compiler->compile(Object(Dwoo), Object(Dwoo_Template_File))
#5 /usr/share/nagvis/share/frontend/nagvis-js/ext/dwoo-1.1.0/Dwoo.php(363): 
Dwoo_Template_String->getCompiledTemplate(Object(Dwoo), Object(Dwoo_Compiler))
#6 /usr/share/nagvis/share/frontend/nagvis-js/classes/NagVisLoginView.php(85): 
Dwoo->get(Object(Dwoo_Template_File), Array)
#7 
/usr/share/nagvis/share/frontend/nagvis-js/classes/FrontendModLogonDialog.php(48):
 NagVisLoginView->parse()
#8 /usr/share/nagvis/share/server/core/functions/index.php(120): 
FrontendModLogonDialog->handleAction()
#9 /usr/share/nagvis/share/frontend/nagvis-js/index.php(57): 
require('/usr/share/nagv...')
#10 {main}


========== Solution ===========
--> https://github.com/NagVis/nagvis/issues/142
--> http://www.nagvis.org/downloads/changelog/1.9.8

I have manualy fixed the files to see if it's excatly this issue. -->
Yes, we hit this Issue.

Maybe we could switch to the latest fixed Version in the official Ubuntu
Repo?


Best Regards

Tux12Fun - Thomas

** Affects: nagvis (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/1790593

Title:
  Nagvis PHP7 Error

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

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

Reply via email to