Skip to content

ss_host_disk.php php issue after upgrade PHP 8.1 (from 7.4) #5105

@xmacan

Description

@xmacan

2022-12-18 21:31:16 - ERROR PHP ERROR: Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in /usr/local/share/cacti/scripts/ss_host_disk.php:146 Stack trace: #0 /usr/local/share/cacti/scripts/ss_host_disk.php(146): abs('') #1 /usr/local/share/cacti/script_server.php(293):

With php 7.4 it was without issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourconfirmedBug is confirm by dev teamresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions