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

Fatal Error On User Management #3325

Closed
Grunticus03 opened this issue Jan 11, 2025 · 3 comments
Closed

Fatal Error On User Management #3325

Grunticus03 opened this issue Jan 11, 2025 · 3 comments
Assignees
Labels
Milestone

Comments

@Grunticus03
Copy link

Grunticus03 commented Jan 11, 2025

In the administration section under Users, clicking on either Users or Groups results in a runtime error.

Ubuntu 22.04
MySQL 8.0 (Remote Server)
phpMyFAQ v 4.0.4 (Upgraded from 3.2.6)

Apache error logs show:

AH01071: Got error 'PHP message: phpMyFAQ Twig\\Error\\RuntimeError: An exception has been thrown during the rendering of a template ("phpMyFAQ\\Template\\Extensions\\PermissionTranslationTwigExtension::getPermissionTranslation(): Return value must be of type string, null returned"). in /var/www/html/assets/templates/admin/user/users.twig on line 179\nStack trace:\n#0 /var/www/html/src/libs/twig/twig/src/Template.php(343): Twig\\Template->yield()\n#1 /var/www/html/src/libs/twig/twig/src/Template.php(358): Twig\\Template->display()\n#2 /var/www/html/src/libs/twig/twig/src/TemplateWrapper.php(51): Twig\\Template->render()\n#3 /var/www/html/admin/user.php(191): Twig\\TemplateWrapper->render()\n#4 /var/www/html/admin/index.php(269): require('...')\n#5 {main}', referer: https://faq.domain.com/admin/?action=user

image
image

@thorsten thorsten self-assigned this Jan 11, 2025
@thorsten thorsten added the Bug label Jan 11, 2025
@thorsten thorsten added this to the 4.0.5 milestone Jan 11, 2025
@thorsten
Copy link
Owner

@Grunticus03 Which language do you use?

@thorsten
Copy link
Owner

Does that fix it?

@Grunticus03
Copy link
Author

I am using English (United States) and yes, that fixed it.

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

No branches or pull requests

2 participants