Ad Widget

Collapse

Error Removing Hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gavinmead
    Junior Member
    • Oct 2004
    • 8

    #1

    Error Removing Hosts

    Whenever I try to remove a host, this is the error I get:

    Fatal error: Unsupported operand types in /usr/local/www/data-dist/zabbix/hosts.php on line 77
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Fix

    Thanks for reporting this! There is a typo in hosts.php:

    replace
    Code:
    $host-get_host_by_hostid($_GET["hostid"]);
    by
    Code:
    $host=get_host_by_hostid($_GET["hostid"]);
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • gavinmead
      Junior Member
      • Oct 2004
      • 8

      #3
      Problem solved, thank you!

      Comment

      Working...