After upgrading from 5.0.1 to 5.0.2, I find that a ticket creation request results in a “An internal RT error has occurred” error message. Looking into the logs, I see the more detailed error message:
 [Thu Oct 28 11:53:07 2021] [error]: Undefined subroutine &HTML::Mason::Commands::PreprocessTimeUpdates called at /usr/share/rt5/html/Ticket/Create.html line 470.
The RT server is running on CentOS 8. Our RT installations are always installed using rpms created in-house.The upgrade from 5.0.1 to 5.0.2 was achieved by running yum update and then by updating the database with the rt-setup-database command.
Ticket creation is working fine on our 5.0.1 installation.