-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Support Request]: #3102
Comments
Hi @theking1141,
|
Hi @ssddanbrown, My answers:
|
@theking1141 Thanks for providing those. I think you must have ran some extra commands to install PHP8 at some point. It's not part of the BookStack installation script and it's not part of the default Ubuntu repositories either as far as I'm aware. The The version of composer is quite old, I'm assuming that may be an apt-installed version? If so I'd reccommend removing the existing version of composer ( |
You were right! PHP8 is installed on the system. And now I figured out why it happened. In the article https://www.bookstackapp.com/docs/admin/updates/, if you scroll to the Updating to v21.04 or higher section, there is an instruction for updating PHP to version 8, but I did not see that it was for Ubuntu 18.04. The composer update helped me. Thanks a lot! My problem is solved! |
Attempted Debugging
Searched GitHub Issues
Describe the Scenario
After the update, a blank page began to open for me. I found instructions from the link: https://www.bookstackapp.com/docs/admin/debugging/.
The instruction did not work for me after that in the env file I added "APP_DEBUG = true" and the errors indicated below went.
Also, during the update, when I tried to enter the command: "php artisan view: clear", an error occurred:
P.S. If you do not go into debug mode, but post the html-code that is contained in the body of an empty page, we will see this:
Exact BookStack Version
21.11.2
Log Content
Error
Symfony\Component\Debug\Exception\FatalThrowableError
Call to undefined method Illuminate\Pagination\Paginator::useBootstrap()
Environment
PHP Version: 8.0.13
BookStack Version: v21.11.2
Theme Configured:
Stack Trace
#0 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): BookStack\Providers\AppServiceProvider->boot()
#1 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\Container\BoundMethod::Illuminate\Container{closure}()
#2 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
#3 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod()
#4 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Container/Container.php(590): Illuminate\Container\BoundMethod::call()
#5 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(856): Illuminate\Container\Container->call()
#6 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(839): Illuminate\Foundation\Application->bootProvider()
#7 [internal function]: Illuminate\Foundation\Application->Illuminate\Foundation{closure}()
#8 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(840): array_walk()
#9 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\Foundation\Application->boot()
#10 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(219): Illuminate\Foundation\Bootstrap\BootProviders->bootstrap()
#11 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(156): Illuminate\Foundation\Application->bootstrapWith()
#12 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): Illuminate\Foundation\Http\Kernel->bootstrap()
#13 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#14 /var/www/bookstack/public/index.php(53): Illuminate\Foundation\Http\Kernel->handle()
#15 {main}
PHP Version
8
Hosting Environment
Ubuntu 20.04, The application is installed using the sh-script posted on your website
The text was updated successfully, but these errors were encountered: