ValueError: imagecolorsforindex(): Argument #2 ($color) is out of range

An unforeseen error has occured. This is most likely a bug somewhere.

/var/www/vendor/splitbrain/slika/src/GdAdapter.php:238