mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-02-05 00:29:48 +03:00
Symfony\Component\Debug\Exception\FatalThrowableError Class 'BookStack\Uploads\Log' not found #2010
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Midas1989 on GitHub (Jan 5, 2021).
Hello, i have a freh installation on ubuntu 18.04.
When i create a new User with Mailsend i become this error
with a local create user on cli
root@wiki:/var/www/bookstack# php artisan bookstack:create-admin
Please specify an email address for the new admin user:
Please specify an name for the new admin user:
Please specify a password for the new admin user:
Symfony\Component\Debug\Exception\FatalThrowableError : Class 'BookStack\Uploads\Log' not found
at /var/www/bookstack/app/Uploads/UserAvatars.php:32
28| $avatar = $this->saveAvatarImage($user);
29| $user->avatar()->associate($avatar);
30| $user->save();
31| } catch (Exception $e) {
Exception trace:
1 BookStack\Uploads\UserAvatars::fetchAndAssignToUser(Object(BookStack\Auth\User))
/var/www/bookstack/app/Auth/UserRepo.php:265
2 BookStack\Auth\UserRepo::downloadAndAssignUserAvatar(Object(BookStack\Auth\User))
/var/www/bookstack/app/Console/Commands/CreateAdmin.php:77
Please use the argument -v to see more details.
The User is createt but with mail he dont send the mail. the testmail is still running
Thanks for help
@Midas1989 commented on GitHub (Jan 6, 2021):
The mails were sent, but the above error still occurred
I have the application running on a lxc container. But I have already read that others have this too and have no problems.
@ssddanbrown commented on GitHub (Jan 10, 2021):
Thanks for reporting @Midas1989.
This was due to a failed code reference that shows up when an avatar fetch fails, preventing the fetch from failing gracefully. I have patched this in e5a96b0cb0788f44b331afa83f1279314a7bafd1with updating testing to cover this case. This will be part of v0.31.2 which will be released sometime today.