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

Error while logging in after upgrade from 0.18.x to the latest #932

Closed
nekromoff opened this issue Jul 20, 2018 · 1 comment
Closed

Error while logging in after upgrade from 0.18.x to the latest #932

nekromoff opened this issue Jul 20, 2018 · 1 comment

Comments

@nekromoff
Copy link

nekromoff commented Jul 20, 2018

For Bug Reports

  • BookStack Version (Found in settings, Please don't put 'latest'): BookStack v0.22.0
  • PHP Version: 7.2.7
  • MySQL Version: 10.0.34-MariaDB
Expected Behavior

Login fails with Unknown Error

InvalidArgumentException                                                                          Unknown editor identifier: html. Known editors:sublime,textmate,emacs,macvim,phpstorm,idea,vscode
--
in PrettyPageHandler.php (line 415)
at PrettyPageHandler->setEditor('html')in Handler.php (line 375)
at Handler->Illuminate\Foundation\Exceptions\{closure}(object(PrettyPageHandler))in helpers.php (line 1038)
at tap(object(PrettyPageHandler), object(Closure))in Handler.php (line 383)
at Handler->whoopsHandler()in Handler.php (line 333)
at Handler->Illuminate\Foundation\Exceptions\{closure}(object(Run))in helpers.php (line 1038)
at tap(object(Run), object(Closure))in Handler.php (line 338)
etc...

log:

[2018-07-20 14:18:34] production.ERROR: Call to a member function bind() on null {"userId":1,"email":"xxxxx *(real email removed)*","exception":"[object] (S
[stacktrace]
#0 /var/www/html/int/wiki/vendor/laravel/framework/src/Illuminate/Routing/Router.php(575): Illuminate\\Support\\HigherOrderTapProxy->__call('bind'
#1 /var/www/html/int/wiki/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(221): Illuminate\\Routing\\Router->respondWithRoute('
#2 /var/www/html/int/wiki/app/Exceptions/Handler.php(67): Illuminate\\Support\\Facades\\Facade::__callStatic('respondWithRout...', Array)
#3 /var/www/html/int/wiki/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(83): BookStack\\Exceptions\\Handler->render(Object(Illumina
#4 /var/www/html/int/wiki/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): Illuminate\\Routing\\Pipeline->handleException(Object(
#5 /var/www/html/int/wiki/app/Http/Controllers/Controller.php(44): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate
#6 /var/www/html/int/wiki/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(131): BookStack\\Http\\Controllers\\Controller->BookStack\
#7 /var/www/html/int/wiki/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\
#8 /var/www/html/int/wiki/app/Http/Middleware/Authenticate.php(48): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Ill
Current Behavior

Error while logging in, but can continue with the session if I click in the menu and I am logged in

Steps to Reproduce

Log in using Google Oauth

@nekromoff
Copy link
Author

Seems to be caused by missing images in public/uploads folder that I forgot to copy over from the old install. Anyway, I guess this should be checked and missing uploaded file should not throw such error.

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

No branches or pull requests

1 participant