Skip to content

Correct issues with Heartbeat definitions under PHP 8.x #4693

@manhvu1997

Description

@manhvu1997

Describe the bug

I install cacti 1.2.20 with php8.1 on ubuntu OS. However, I faced with the error:
2022-04-09 20:56:17 - CMDPHP PHP ERROR Backtrace: (/logout.php[26]:include(), /include/auth.php[27]:require_once(), /include/global.php[517]:include_once(), /include/global_arrays.php[697]:__(), /include/global_languages.php[507]:CactiErrorHandler())
2022-04-09 20:56:17 - ERROR PHP : Implicit conversion from float 5.5 to int loses precision in file: /var/www/html/cacti/include/global_languages.php on line: 516
Can you help me fix the bug above ?

ảnh

Metadata

Metadata

Assignees

No one assigned

    Labels

    PHP8Issue related to PHP8bugUndesired behaviourconfirmedBug is confirm by dev teamresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions