Some PNGs give me a White Screen of Death
-
Your plugin does a curl_init() with that URL:
and loads the first 32Kb of the file (partial load, I can see the 206 return code in my logs).
Then your plugin fails silently in some way and breaks the whole processing. Needless to say, not what you’d expect.
For now, I have a “temporary” fix which is to skip on the partial download. that works just fine. Slower, but much better than a WSOD. Now what I don’t understand is why you wouldn’t just check the local file, but anyway… that’s probably a different problem.
$headers = null; //array( // "Range: bytes=0-32768" //);
This goes in:
wp-content/plugins/wonderm00ns-simple-facebook-open-graph-tags/public/class-webdados-fb-open-graph-public.php
at line 885 in version 2.1.5 of Wonderm00ns simple Facebook Open Graph.
I am thinking that the load of the PNG works but then you try to get the width and height and that fails because that info was not loaded (i.e. found at the end of the file, probably.) So your loading process is not currently correct. That being said, the width/height gathering should be failsafe too.
I’m on Ubuntu 16.04 with the latest of everything. No special version of PHP/Apache/MySQL.
The page I need help with: [log in to see the link]
- The topic ‘Some PNGs give me a White Screen of Death’ is closed to new replies.