• bryaneekelder

    (@bryaneekelder)


    I’ve noticed an issue with the Fly Dynamic Image Resizer when using PHP 8.0.1. It doesn’t generate new image sizes.

    e.g.
    When using existing image sizes (from when i was using php 7.4)
    <?= fly_get_attachment_image( $block['image'], '736f' ); ?> works like a charm.

    But when i switch to php8, and create a new image size, say 900×900
    fly_add_image_size('900f', 900, 900, true);

    The following won’t return any image. Same goes for fly_get_attachment_image_src
    <?= fly_get_attachment_image( $block['image'], '900f' ); ?>

    Var_dump returns an empty array.

    No image is shown. There’s no fatals being thrown.

    WP Version: 5.9.2
    Plugin Version: 2.0.8 (the only active plugin in my installation)

  • The topic ‘PHP 8 compatibility’ is closed to new replies.