When PHP 8.3 and Ignite Gallery are used, the rotate image function in Ignite Gallery does not work, an error is created:

imagerotate() expects exactly 3 arguments, 4 given

PHP 8.3 is a new version of PHP, it was released in November 2023

This error will be fixed in the next Ignite Gallery version. The next version will be released soon.

To fix this now, please do:

Solution 1: Go to your webhosting control panel, and choose PHP 8.2 as your PHP version.

Or Solution 2: Go to your webhosting control panel, edit the file administrator/components/com_igallery/lib/gdimage/Operation/Rotate.php and make the change: