Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-25886

PHP Error Occurs When Specifying "FS [/boot]: Get data" for "Item value" in Host Ordering of the Topitems Widget's Advanced Configuration

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • 7.2.4rc1, 7.4.0alpha1 (master)
    • 7.2.2
    • Frontend (F)
    • AlmaLinux 9.3
      php-fpm-8.0.30-1.el9_2.x86_64
      httpd-2.4.62-1.el9.x86_64
      mysql-server-8.0.36-1.el9_3.x86_64
    • S25-W4/5
    • 0.5

      Steps to reproduce:

      1. Create a Topitems widget.
      2. In the Advanced configuration's Host ordering, specify an item that includes "FS [/boot]: Get data" in the "Item value" field.
      preg_match(): Unknown modifier 'b' [zabbix.php:17 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → Widgets\TopItems\Actions\WidgetView->doAction() → Widgets\TopItems\Actions\WidgetView->getData() → Widgets\TopItems\Actions\WidgetView->applyHostOrdering() → Widgets\TopItems\Actions\WidgetView->orderHostsByItemValue() → preg_match() in widgets/topitems/actions/WidgetView.php:740]
      

        1. 01.png
          01.png
          148 kB
        2. 02.png
          02.png
          120 kB
        3. WebInterface_debug.rtf
          66 kB

            zabbix.dev Zabbix Development Team
            ikarimata Itsuki Karimata
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 1h
                1h