• Resolved mattinventive

    (@mattinventive)


    Hello,

    I’ve been upgrading my site to PHP8 from 7.4. Prior to upgrading I’ve had no errors for your plugin but upon upgrading I’m getting the following error:

    usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero

    In

    wp-content/plugins/envira-gallery-lite/includes/global/rest.php:437

    Here’s my environment details:

    Hosting: Pantheon
    PHP: 8.0

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m seeing this as well. It occurs when editing any post in the block editor.

    Changelog suggests PHP8 notices were fixed back in 1.8.4.0, but I guess they missed one.

    bmilligan15

    (@bmilligan15)

    Hi @mattinventive and @joshf!

    I apologize for any trouble. I’ve been able to replicate this error locally, and have opened a ticket for our team to investigate. The moment I have an update to share on this, I’ll be sure to let you both know.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP8 Warnings’ is closed to new replies.