XF 2.3 Fatal Error: gd-webp cannot allocate temporary buffer

estranged

Well-known member
Hello,

I am having the error below while running rebuild job. Any ideas?

Thanks.
Code:
ErrorException: Fatal Error: gd-webp cannot allocate temporary buffer src/XF/Image/Gd.php:61

#0 [internal function]: XF::handleFatalError()
#1 {main}
Request state
array(4) {
  ["url"] => string(24) "/admin.php?tools/run-job"
  ["referrer"] => string(44) "X/admin.php?tools/run-job"
  ["_GET"] => array(1) {
    ["tools/run-job"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["_xfRedirect"] => string(10) "/admin.php"
    ["_xfToken"] => string(8) "********"
    ["only_ids"] => string(0) ""
  }
}
 
Got the same error today. We had issues with our update but it seemed everything was running smoothly until this popped up. Looks like ours was related to post made by a member.
Other than the error log entry it seems everything is running though, no major issues

Server error log
  • ErrorException: Fatal Error: gd-webp cannot allocate temporary buffer
  • src/XF/Image/Gd.php:61
  • Generated by: Unknown account
  • Aug 11, 2024 at 11:34 AM

Stack trace​

#0 [internal function]: XF::handleFatalError()
#1 {main}

Request state​

array(4) {
["url"] => string(210) "/proxy.php?image=https%3A%2F%2Fmedia3.giphy.com%2Fmedia%2F1k1ytRsFCNH4Mj0z16%2F200w.webp%3Fcid%3Decf05e47ulsn1zzmuf83f1yvzwc3dro1rh65w5t3hnfqqdd7%26rid%3D200w.webp%26ct%3Dg&hash=47d3b1eba72fa0181ac2b02f4da0935b"
["referrer"] => bool(false)
["_GET"] => array(2) {
["image"] => string(131) "https://media3.giphy.com/media/1k1y...yvzwc3dro1rh65w5t3hnfqqdd7&rid=200w.webp&ct=g"
["hash"] => string(32) "47d3b1eba72fa0181ac2b02f4da0935b"
}
["_POST"] => array(0) {
}
}
 
Getting the same error on 2.3.4, Did you guys find a solution for this?


Server error log
  • ErrorException: Fatal Error: gd-webp cannot allocate temporary buffer
  • src/XF/Image/Gd.php:61
  • Generated by: Unknown account
  • Jan 14, 2025 at 11:21 PM

Stack trace​

#0 [internal function]: XF::handleFatalError()
#1 {main}

Request state​

array(4) {
["url"] => string(199) "/proxy.php?image=https%3A%2F%2F20627419.fs1.hubspotusercontent-na1.net%2Fhubfs%2F20627419%2FThe%2520Hustle%2FAssets%2FGIFs%2F635840021-HEADER.webp&hash=ff15bd1c246ff37653a630cf4ef8193e&return_error=1"
["referrer"] => bool(false)
["_GET"] => array(3) {
["image"] => string(109) "https://20627419.fs1.hubspotusercon.../The Hustle/Assets/GIFs/635840021-HEADER.webp"
["hash"] => string(32) "ff15bd1c246ff37653a630cf4ef8193e"
["return_error"] => string(1) "1"
}
["_POST"] => array(0) {
}
}
 
doing a search several results were that it might be an animated image?
one of the posts above shows giphy.
tracy said the default does not handle animated images and why he has the other option installed.
 
doing a search several results were that it might be an animated image?
one of the posts above shows giphy.
tracy said the default does not handle animated images and why he has the other option installed.
Tracy?

It was an animated image. They should add a check to see if they are animated or not before processing.
 
Tracy?

It was an animated image. They should add a check to see if they are animated or not before processing.
the guy who runs the server that my site is one and helps me with my tech stuff.

i had asked him before if i could use animated gifs on my site.
he had said yes because he sets up to use the other choice from what is default.
i think it was image magic?
that one can handle animation.
 
Back
Top Bottom