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: Fatal error: Uncaught Error: Call to undefined function #6700

Closed
the-midnighter opened this issue Nov 21, 2023 · 2 comments
Closed

Bug: Fatal error: Uncaught Error: Call to undefined function #6700

the-midnighter opened this issue Nov 21, 2023 · 2 comments

Comments

@the-midnighter
Copy link

the-midnighter commented Nov 21, 2023

Description

Fatal error: Uncaught Error: Call to undefined function ChurchCRM\dto\gettext() in
/home/greenpassion/public_html/greenpassion.ca/ChurchCRM/ChurchCRM/dto/SystemConfig.php:87 Stack trace: #0
/home/greenpassion/public_html/greenpassion.ca/ChurchCRM/ChurchCRM/dto/SystemConfig.php(297): ChurchCRM\dto\SystemConfig::buildConfigs() #1000 /home/greenpassion/public_html/greenpassion.ca/ChurchCRM/setup/index.php(17): ChurchCRM\dto\SystemConfig::init()
#2 {main} thrown in /home/greenpassion/public_html/greenpassion.ca/ChurchCRM/ChurchCRM/dto/SystemConfig.php on line 87
  • ChurchCRM version: Most recent
  • PHP version is the server running: 8.2
  • DB Server and Version are you running: MySQL - Most recent

Steps To Reproduce

  1. Go to '...' http://greenpassion.ca/ChurchCRM/setup/
  2. Click on '....' nothing
  3. Scroll down to '....' nothing
  4. See error right away

Debugging Steps

  • What has been done to debug the issue so far?
    I've googled the error and looked at troubleshooting / installation instructions

  • Have you looked at the browser's developer tools to see if an error is thrown / network request failed?
    Yes

  • Are there any associated error logs on the backend that get emitted when you attempt to do this action?
    Not that I found

I am running this on a CentOS server

Thank you

@MrClever
Copy link
Collaborator

MrClever commented Nov 21, 2023

As per the Installation guide, Church CRM relies on the gettext module to handle localisation. Your log indicates this module is either not installed or not enabled. To fix this, please make sure you install AND enable the gettext PHP module.

@DAcodedBEAT
Copy link
Contributor

@the-midnighter After installing and enabling this module, you can also visit the /v2/admin/debug route to see if this and other required modules are installed in your deployment.

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

No branches or pull requests

3 participants