• Resolved mravat

    (@rosso711)


    Hi,

    I am getting the below error when uploading an image:

    Warning: sprintf(): Argument number must be greater than zero in /public_html/wp-content/plugins/imsanity/imsanity.php on line 192

    I am using php 7.2

    Please advice

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    I’ll see if I can fine tune that a bit, but basically it means that your system is throwing an error during the resize process. I don’t know how it’s triggering that warning specifically, as it should be telling you what the error is. At any rate, my first guess would be that GD or Imagick is missing from your system. Make sure you have at least one of those installed, you can install the phpinfo plugin for your site and search through the output it provides for one of those extensions. If you don’t find GD or Imagick (ImageMagick), ask your webhost how to install them.

    Plugin Author nosilver4u

    (@nosilver4u)

    Finally figured out that it’s because one of the placeholders was using an invalid format. Will have a fix in the next release.

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