Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Askancy Posted October 2, 2021 Posted October 2, 2021 I uploaded a profile image, an animated gif, the library for manipulating the image is GD, when I chose cropping, it gave me an error: ValueError: imagecolorsforindex(): Argument #2 ($color) is out of range (0) #0 /var/www/vhosts/**.it/httpdocs/system/Image/Gd.php(298): imagecolorsforindex() #1 /var/www/vhosts/**.it/httpdocs/applications/core/modules/front/members/profile.php(1487): IPS\Image\_Gd->cropToPoints() #2 /var/www/vhosts/**.it/httpdocs/system/Dispatcher/Controller.php(90): IPS\core\modules\front\members\_profile->cropPhoto() #3 /var/www/vhosts/**.it/httpdocs/applications/core/modules/front/members/profile.php(73): IPS\Dispatcher\_Controller->execute() #4 /var/www/vhosts/**.it/httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\members\_profile->execute() #5 /var/www/vhosts/**.it/httpdocs/index.php(13): IPS\_Dispatcher->run() #6 {main} I changed it to ImageMagick and it's gone. I have tried on both my forums, if it helps I attach the gif that creates this problem.
Recommended Posts