Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-8149 PHP 8.2 support
  3. ZBXNEXT-8205

PHP 8.2: Partially-supported callable are deprecated

XMLWordPrintable

    • Icon: Change Request (Sub-task) Change Request (Sub-task)
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 6.4.0beta6
    • API (A), Frontend (F)
    • None
    • Sprint 96 (Jan 2023), Sprint 97 (Feb 2023)

      Deprecated: Use of "self" in callables is deprecated in ... on line ...

      Can be find in Runtime errors log. And in the output of API tests results
      For example:

      Use of "self" in callables is deprecated [zabbix.php:22 -> require_once() -> ZBase->run() -> ZBase->processRequest() -> CController->run() -> CControllerDashboardView->doAction() -> CControllerDashboardView->getDashboard() -> CDashboardHelper::preparePagesForGrid() -> Widgets\Item\Includes\WidgetForm->validate() -> Zabbix\Widgets\CWidgetForm->validate() -> Zabbix\Widgets\Fields\CWidgetFieldThresholds->validate() -> CArrayHelper::sort() -> uasort() -> CConfigFile->{closure}() in include/classes/helpers/CArrayHelper.php:172]
      

            zabbix.dev Zabbix Development Team
            natalja.zabbix Natalja Romancaka
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: