***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 go to your webhosting control panel, and choose PHP 8.2 as your PHP version.