• Resolved roadlink

    (@roadlink)


    Hi there,

    How I can fix this error?

    PHP Warning: imagecreatefrompng(): gd-png: libpng warning: Interlace handling should be turned on when using png_read_image in /kunffder/gamff/fff/public/wp-content/plugins/resize-image-after-upload/resize-image-after-upload.php on line 560

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Gerard Blanco

    (@sixaxis)

    Hi @roadlink,

    In order to better assist you, we would appreciate it if you could provide us with the following information:
    – Some screenshots showing the issue would be helpful, including relevant links, but a screen recording is always better. The goal is to understand when and where exactly you see this warning.
    – Your site information. For this, please go to Tools > Site Health > Info, click on the “Copy site info to clipboard” button and paste the information here.
    – Screenshots of your Resize Image After Upload settings

    Thank you,

    Thread Starter roadlink

    (@roadlink)

    Hi there,

    I see these error on my php error log file.
    I am not comfortable to add site details here. If you have a private channel I can provide.

    thanks

    Plugin Support Gerard Blanco

    (@sixaxis)

    Hi roadlink,

    The WordPress moderators do not allow us request these details through other channels, sorry ??

    Feel free to obscure everything you think needs to be private and then copy-paste the information here.

    Thank you,

    Plugin Author Pedro

    (@petredobrescu)

    Hello @roadlink,

    I had a look over this Warning and to me, it looks like this message comes from your PNG images. One solution could be to update libpng on your server to a more recent version. The alternative is to deactivate interlacing like it is described in this article:

    https://mixable.blog/png-deactivate-interlace-to-avoid-libpng-warning-interlace-handling-should-be-turned-on-when-using-png_read_image/

    Unfortunately, this is not something we could resolve from the plugin code, because it comes from the images and the libraries used, and not from our code.

    Please tell us if you have any other questions!

    Thread Starter roadlink

    (@roadlink)

    thanks, changed server. you can close this one

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘php error’ is closed to new replies.