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: Create User returns 500 #7200

Open
DawoudIO opened this issue Dec 7, 2024 · 1 comment · May be fixed by #7201
Open

Bug: Create User returns 500 #7200

DawoudIO opened this issue Dec 7, 2024 · 1 comment · May be fixed by #7201
Labels

Comments

@DawoudIO
Copy link
Contributor

DawoudIO commented Dec 7, 2024

Description

A clear and concise description of what the reported bug is:

  • ChurchCRM version: 5.12.0
  • PHP version the server running: PHP 8.2

Steps To Reproduce

Steps to reproduce the behavior:

  1. As admin
  2. Create a new person
  3. Click Make person user
  4. fill in info and click save

Logs

[07-Dec-2024 11:57:24 America/New_York] PHP Fatal error:  Uncaught Twig\Error\LoaderError: The "../templates/email" directory does not exist ("/home/krystoc1/hih/../templates/email"). in /home/krystoc1/hih/vendor/twig/twig/src/Loader/FilesystemLoader.php:92
Stack trace:
#0 /home/krystoc1/hih/vendor/twig/twig/src/Loader/FilesystemLoader.php(78): Twig\Loader\FilesystemLoader->addPath()
#1 /home/krystoc1/hih/vendor/twig/twig/src/Loader/FilesystemLoader.php(45): Twig\Loader\FilesystemLoader->setPaths()
#2 /home/krystoc1/hih/ChurchCRM/Emails/BaseEmail.php(29): Twig\Loader\FilesystemLoader->__construct()
#3 /home/krystoc1/hih/ChurchCRM/Emails/users/BaseUserEmail.php(16): ChurchCRM\Emails\BaseEmail->__construct()
#4 /home/krystoc1/hih/ChurchCRM/Emails/users/NewAccountEmail.php(14): ChurchCRM\Emails\users\BaseUserEmail->__construct()
#5 /home/krystoc1/hih/UserEditor.php(130): ChurchCRM\Emails\users\NewAccountEmail->__construct()
@DawoudIO DawoudIO added the bug label Dec 7, 2024
@DawoudIO
Copy link
Contributor Author

DawoudIO commented Dec 7, 2024

Able to repo on local dev system

[07-Dec-2024 12:33:18 America/Detroit] PHP Fatal error:  Uncaught Twig\Error\LoaderError: The "../templates/email" directory does not exist ("/var/www/html/../templates/email"). in /var/www/html/vendor/twig/twig/src/Loader/FilesystemLoader.php:92
Stack trace:
#0 /var/www/html/vendor/twig/twig/src/Loader/FilesystemLoader.php(78): Twig\Loader\FilesystemLoader->addPath()
#1 /var/www/html/vendor/twig/twig/src/Loader/FilesystemLoader.php(45): Twig\Loader\FilesystemLoader->setPaths()
#2 /var/www/html/ChurchCRM/Emails/BaseEmail.php(29): Twig\Loader\FilesystemLoader->__construct()
#3 /var/www/html/ChurchCRM/Emails/users/BaseUserEmail.php(16): ChurchCRM\Emails\BaseEmail->__construct()
#4 /var/www/html/ChurchCRM/Emails/users/NewAccountEmail.php(14): ChurchCRM\Emails\users\BaseUserEmail->__construct()
#5 /var/www/html/UserEditor.php(130): ChurchCRM\Emails\users\NewAccountEmail->__construct()
#6 {main}
  thrown in /var/www/html/vendor/twig/twig/src/Loader/FilesystemLoader.php on line 92

@DawoudIO DawoudIO linked a pull request Dec 7, 2024 that will close this issue
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant