You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you! Also have the same bug and @bmartin13 solution seems working. I was finally able to see "Registration successful" instead of a blank screen. Thank you!
Running r1605 in docker from this docker image:
https://hub.docker.com/r/linuxserver/projectsend
Found a bug when registering with a new user... error thrown:
Fatal error: Uncaught Error: Undefined constant "ProjectSend\Classes\CURRENT_USER_LEVEL" in /app/www/public/includes/Classes/Users.php:842
Stack trace:
#0 /app/www/public/includes/Classes/Users.php(464): ProjectSend\Classes\Users->limitUploadToSave()
#1 /app/www/public/register.php(44): ProjectSend\Classes\Users->create()
#2 {main} thrown in /app/www/public/includes/Classes/Users.php on line 842
PROPOSED FIX on line 842 of /app/www/public/includes/Classes/Users.php
current:
if (CURRENT_USER_LEVEL == 7) {
return;
}
proposed:
if (!defined('CURRENT_USER_LEVEL') or CURRENT_USER_LEVEL == 7) {
return;
}
The text was updated successfully, but these errors were encountered: