• Resolved azureart

    (@azureart)


    With PHP 8.1+ there is a small bug in your code and i couldn’t found a Github of you guys, so please change following priority in your Ninja Forms Layout & Styles Addon:

    ninja-forms-style/styles/includes/Admin/Submenu.php

    final class NF_Styles_Admin_Submenu extends NF_Abstracts_Submenu(
    $priority = 11.5 => Change it to (int)12
    )

    PHP Deprecated: Implicit conversion from float 11.5 to int loses precision in /wp-includes/class-wp-hook.php on line 91
    PHP Deprecated: Implicit conversion from float 11.5 to int loses precision in /wp-includes/class-wp-hook.php on line 93

Viewing 3 replies - 1 through 3 (of 3 total)
  • Shaylee

    (@shayleehansen30)

    Hello @azureart,

    Please don’t hesitate to contact our Customer Success team. They are ready to assist you in documenting and resolving this issue.

    I would like to get the answer on this issue too!
    We already changed to PHP 8.1 for half a year and get these Deprecated notice on our development server and local development for a while.
    We would love to deliver code without issues and rather don’t switch off WP_DEBUG.

    cyhouse

    (@cyhouse)

    @shaylee, Please confirm you will be implementing the fix azureart provided. Our logs got 100+gb in size, all due to this float 11.5 issue. Glad someone at least provided a solution to it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Deprecated: Implicit conversion from float 11.5 to int loses precision’ is closed to new replies.