Ad Widget

Collapse

Zabbix-6.2.6 with PHP-8.2 appears to have problems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AlesisTrigger
    Junior Member
    • Jan 2023
    • 5

    #1

    Zabbix-6.2.6 with PHP-8.2 appears to have problems

    From the frontend (Alma linux 8.7) , there are many, many, "error messages" such as: Creation of dynamic property CList::$attributes is deprecated [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CWidget->show() → CWidget->toString() → get_prepared_messages() → makeMessageBox() → CList->__construct() → CTag->__construct() in include/classes/html/CTag.php:58] Creation of dynamic property CList::$tagname is deprecated [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CWidget->show() → CWidget->toString() → get_prepared_messages() → makeMessageBox() → CList->__construct() → CTag->__construct() in include/classes/html/CTag.php:59] Creation of dynamic property CList::$paired is deprecated [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CWidget->show() → CWidget->toString() → get_prepared_messages() → makeMessageBox() → CList->__construct() → CTag->__construct() in include/classes/html/CTag.php:60] Creation of dynamic property CListItem::$attributes is deprecated [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CWidget->show() → CWidget->toString() → get_prepared_messages() → makeMessageBox() → CList->__construct() → CList->addItem() → CList->prepareItem() → CListItem->__construct() → CTag->__construct() in include/classes/html/CTag.php:58] Creation of dynamic property CListItem::$tagname is deprecated [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CWidget->show() → CWidget->toString() → get_prepared_messages() → makeMessageBox() → CList->__construct() → CList->addItem() → CList->prepareItem() → CListItem->__construct() → CTag->__construct() in include/classes/html/CTag.php:59] Creation of dynamic property CListItem::$paired is deprecated [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CWidget->show() → CWidget->toString() → get_prepared_messages() → makeMessageBox() → CList->__construct() → CList->addItem() → CList->prepareItem() → CListItem->__construct() → CTag->__construct() in include/classes/html/CTag.php:60] Creation of dynamic property CListItem::$attributes is deprecated [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CWidget->show() → CWidget->toString() → get_prepared_messages() → makeMessageBox() → CList->addItem() → CList->prepareItem() → CListItem->__construct() → CTag->__construct() in include/classes/html/CTag.php:58] Creation of dynamic property CListItem::$tagname is deprecated [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CWidget->show() → CWidget->toString() → get_prepared_messages() → makeMessageBox() → CList->addItem() → CList->prepareItem() → CListItem->__construct() → CTag->__construct() in include/classes/html/CTag.php:59] Creation of dynamic property CListItem::$paired is deprecated [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CWidget->show() → CWidget->toString() → get_prepared_messages() → makeMessageBox() → CList->addItem() → CList->prepareItem() → CListItem->__construct() → CTag->__construct() in include/classes/html/CTag.php:60] Creation of dynamic property CListItem::$attributes is deprecated [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CWidget->show() → CWidget->toString() → get_prepared_messages() → makeMessageBox() → CList->addItem() → CList->prepareItem() → CListItem->__construct() → CTag->__construct() in include/classes/html/CTag.php:58] Creation of dynamic property CListItem::$tagname is deprecated [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → CWidget->show() → CWidget->toString() → get_prepared_messages() → makeMessageBox() → CList->addItem() → CList->prepareItem() → CListItem->__construct() → CTag->__construct() in include/classes/html/CTag.php:59]
  • gferradas
    Junior Member
    • Jan 2023
    • 24

    #2
    This is from the logs of php?

    Comment

    • AlesisTrigger
      Junior Member
      • Jan 2023
      • 5

      #3
      No - these predicated "blocks" appear either below the main page element that they are associted with or within the same iFrame.

      Comment

      • AlesisTrigger
        Junior Member
        • Jan 2023
        • 5

        #4
        The following screenshots of the Templates page show what appears and what has to be cleared/closed in order to work with the actual Zabbix page.
        Attached Files

        Comment

        • AlesisTrigger
          Junior Member
          • Jan 2023
          • 5

          #5
          In one page, which I cannot remember which, the engaged function does not work at all. I will probably look into removing PHP-8.2 and going back to some PHP-7.4+ implementation.

          Comment

          • tim.mooney
            Senior Member
            • Dec 2012
            • 1427

            #6
            Do you see somewhere in the release notes for 6.2.x that indicates that PHP 8.2 is supported?

            All I see is that Zabbix 6.2.x supports PHP 7.4.x, 8.0.x, or 8.1.x. I don't see anything that says PHP 8.2 is supported.

            Comment

            • AlesisTrigger
              Junior Member
              • Jan 2023
              • 5

              #7
              You are correct about the stated PHP versions listed in the manul. I have since backed out from PHP-8.2 to PHP-8.1.

              As a side-note: there is a manual error regarding the acceptable versions of MariaDB. Manual includes v10.10.x. Error log states newest/latest MariaDB version accepted is 10.8.x.

              Comment

              Working...