• Resolved gregorr64

    (@gregorr64)


    When I convert a PNG to JPEG it says “done” and the image disappears from the list then when I refresh it the image is back as a PNG. It’s not fixing it in the media library either.

    Would love to get this plugin working as it will save me a lot of time. Let me know if you would like temporary admin access or if there’s anything else I can do to help clear this issue up.

    Thanks,
    Gregor

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter gregorr64

    (@gregorr64)

    Got word back from our hosting provider, it appears that this is caused by a php error.

    The logs from this are:

    [19-Jun-2018 07:04:56 UTC] PHP Warning: imagesy() expects parameter 1 to be resource, boolean given in /var/www/vhosts/sitename.co.uk/httpdocs/wp-content/plugins/png-to-jpg/png-to-jpg.php on line 368
    [19-Jun-2018 07:04:56 UTC] PHP Warning: imagecopy() expects parameter 1 to be resource, boolean given in /var/www/vhosts/sitename.co.uk/httpdocs/wp-content/plugins/png-to-jpg/png-to-jpg.php on line 368
    [19-Jun-2018 07:04:56 UTC] PHP Warning: imagejpeg() expects parameter 1 to be resource, boolean given in /var/www/vhosts/sitename.co.uk/httpdocs/wp-content/plugins/png-to-jpg/png-to-jpg.php on line 371

    Our hosting provider are suggesting that the plugin may need updated to PHP7.2 as this issue is likely caused by old code which no longer works.

    Please get back in touch with anything I can do to help.

    Thanks,
    Gregor

    Plugin Author kubiq

    (@kubiq)

    Hello,

    these 3 functions are fully supported by newest PHP 7.2, so that’s actually lie, what your hosting provider suggested.

    Your hosting probably doesn’t support basic GD and Image Functions, or there are other conflicts with another plugins. Try to deactivate all other plugins just for test and you will see ??

    I’m running my websites on PHP 7.2 and everything works fine

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JPEG’s not saving’ is closed to new replies.