Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in 1.9.0 wrong class name used: Error: Class 'CRM_Utils_Iats' not found in CRM_Core_Payment_Faps->getSettings() #453

Closed
Nicholas-hosein-pw opened this issue May 22, 2024 · 2 comments

Comments

@Nicholas-hosein-pw
Copy link

In CRM/Iats/Utils.php it defines the class CRM_Iats_Utils and from the same commit (f7b8f48) it adds:

  • ./CRM/Core/Payment/Faps.php: $settings = CRM_Utils_Iats::getSettings();
  • ./api/v3/Job/Iatsrecurringcontributions.php: $settings = CRM_Utils_Iats::getSettings();
    Which seems to be attempting to use that class but mixed up the name, real is "CRM_Iats_Utils" but the 2 files use "CRM_Utils_Iats"

I manually updated the file to use the right name and my error went away.

adixon added a commit that referenced this issue May 22, 2024
@adixon
Copy link
Contributor

adixon commented May 22, 2024

Thanks for this, I've just put out a bugfix release.

@adixon adixon closed this as completed May 22, 2024
@Nicholas-hosein-pw
Copy link
Author

Great, thanks for the quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants