After import of contribution: User deprecated function: Deprecated function CRM_Core_OptionGroup::getValue
We get the above warning after the import of contributions on CiviCRM 5.48.2 with Drupal 9. The full message is:
User deprecated function: Deprecated function CRM_Core_OptionGroup::getValue, use CRM_Core_PseudoConstant::getKey. in CRM_Core_Error::deprecatedFunctionWarning() (line 1043 of /vendor/civicrm/civicrm-core/CRM/Core/Error.php).