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

Issue Creating Users after upgrade #1258

Closed
kfoxton opened this issue May 25, 2023 · 2 comments
Closed

Issue Creating Users after upgrade #1258

kfoxton opened this issue May 25, 2023 · 2 comments

Comments

@kfoxton
Copy link

kfoxton commented May 25, 2023

After upgrading to the latest version (r1605), we are no longer able to create new users or clients. After enabling debug mode, this is the error that we are getting:

Fatal error: Uncaught Error: Call to undefined function ProjectSend\Classes\mb_strlen() in /var/www/html/sharedfiles/includes/Classes/Validation.php:59 Stack trace: #0 /var/www/html/sharedfiles/includes/Classes/Validation.php(40): ProjectSend\Classes\Validation->required() #1 /var/www/html/sharedfiles/includes/Classes/Users.php(377): ProjectSend\Classes\Validation->validate_items() #2 /var/www/html/sharedfiles/includes/Classes/Users.php(417): ProjectSend\Classes\Users->validate() #3 /var/www/html/sharedfiles/clients-add.php(51): ProjectSend\Classes\Users->create() #4 {main} thrown in /var/www/html/sharedfiles/includes/Classes/Validation.php on line 59.

We attempted to to do a fresh upgrade, by extracting the full zip again, and copying over our sys.config.php file, but that results in the same issue.

Any ideas on how to resolve this?

@ignacionelson
Copy link
Collaborator

Hi!
Please make sure to enable the mbstring extension on php on your server
https://www.php.net/manual/en/mbstring.installation.php

@kfoxton
Copy link
Author

kfoxton commented May 25, 2023

That was it! Thank you very much!

@kfoxton kfoxton closed this as completed May 25, 2023
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