I’m sorry to hear so many people are having this issue. We have not changed anything in how the logo is loaded or processed. The only reason for the ‘black & white’ or ‘negative’ logo I am aware of is a combination of the logo being PNG and an incorrectly configured Imagick or Gmagick library on the server.
I think the reason that you guys have this issue is because of a PHP update that was rolled out to several hosts or hosting packages.
Just to repeat the (temporary) solution as mentioned above, this should fix the issue:
- Change the PNG logo to a JPG version
- Enable “Always use most current settings” under Documents > Invoice in the PDF invoice settings (or “Test Mode” in the General tab which has the same effect)
I am not saying that this is definitely not something in our plugin, but I have looked at all our recent code changes and also the code that handles the logo inclusion and cannot find anything that could be causing this. I combine this with the fact that the negative logo is something we have seen surface from time to time over the past years and each time being a result of PHP/hosting configuration makes it quite likely to me that this is related to a PHP update (bugs happen…).
To help in finding a pattern, can you please provide the following information:
- Your site host
- Your PHP version (you can find this under WooCommerce > Status if you don’t know it)
I’m sorry I don’t have a simple solution for now, but if we find anything we can do about this from our end we will certainly release an update as soon as possible.