***This issue has been fixed in version 5.0.5 of ignite gallery

When PHP 8.3 and Ignite Gallery version 5.0.4 or earlier 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

To fix this, please upgrade to version 5.0.5 of ignite gallery, Or:

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: