• Resolved mwcs

    (@mwcs)


    I’m trying to bulk-select certain images in my media library, in order to apply an image watermark, but I just get this error:

    “Watermark “URL” couldn’t be applied for “medium” image size: Could not create temporary image. Please check your server configuration”

    What part of my server config do I need to check? How to allow temporary images?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support annaszalkiewicz

    (@annaszalkiewicz)

    Hello,

    This error means that the imagecreatetruecolor function has failed, it’s hard to say why, but there’s a good chance it’s because your web server is running out of memory.

    Please try to increase the PHP memory limit on your website.

    If increasing memory doesn’t help, there may be a problem with the old version of GD or PHP itself.

    Thread Starter mwcs

    (@mwcs)

    Thanks for responding. I don’t see any minimum requirement info for your plugin.

    This is my setup, what is insufficient?

    PHP v 7.4.21

    PHP memory limit: 384M

    Imagick Resource Limits:
    area: 251 GB
    disk: 9.2233720368548E+18
    file: 37500
    map: 251 GB
    memory: 126 GB
    thread: 1
    GD version 2.2.5
    Ghostscript version 9.25

    Thread Starter mwcs

    (@mwcs)

    I’ve switched on debug log. This is the error whenever I try to apply a watermark:

    Warning: A non-numeric value encountered in…/plugins/easy-watermark/src/classes/AttachmentProcessor/AttachmentProcessorGD.php on line 414

    Warning: imagecreatetruecolor(): Invalid image dimensions in …/plugins/easy-watermark/src/classes/AttachmentProcessor/AttachmentProcessorGD.php on line 422
    1349

    And this is the error on the watermark image settings page:

    Warning: array_key_exists(): The first argument should be either a string or an integer in /home/mikewhel/public_html/mwcs-wp/wp-content/plugins/easy-watermark/src/classes/Watermark/Handler.php on line 145

    Plugin Support annaszalkiewicz

    (@annaszalkiewicz)

    Hello,

    Unfortunately, we cannot replicate this issue.

    If the problem still persists, please write to [email protected] and we’ll try to help you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Could not create temporary image. Check server configuration’ is closed to new replies.