Fatal error when saving event registration (online and offline)
Error in CiviCRM 5.78.1 and PHP 8.3:
[php:error] [pid 45:tid 45] [client 172.18.0.1:0] PHP Fatal error: Uncaught TypeError: CRM_Civigiftaid_SetContributionGiftAidEligibility::financialTypeIsEligible(): Argument #1 ($financialType) must be of type int, string given, called in /var/www/html/wp-content/civicrm-extensions/ukgiftaid/CRM/Civigiftaid/SetContributionGiftAidEligibility.php on line 121 and defined in /var/www/html/wp-content/civicrm-extensions/ukgiftaid/CRM/Civigiftaid/SetContributionGiftAidEligibility.php:191
\nStack trace:\n#0 /var/www/html/wp-content/civicrm-extensions/ukgiftaid/CRM/Civigiftaid/SetContributionGiftAidEligibility.php(121): CRM_Civigiftaid_SetContributionGiftAidEligibility::financialTypeIsEligible()
\n#1 /var/www/html/wp-content/civicrm-extensions/ukgiftaid/CRM/Civigiftaid/SetContributionGiftAidEligibility.php(39): CRM_Civigiftaid_SetContributionGiftAidEligibility::setGiftAidEligibilityStatus()
\n#2 [internal function]: CRM_Civigiftaid_SetContributionGiftAidEligibility->runCallback()
\n#3 /var/www/html/wp-content/plugins/civicrm/civicrm/Civi/Core/Event/ServiceListener.php(53):
Edited by Kurund Jalmi