Class 'BookStack\Http\Request' not found #1312

Closed
opened 2026-02-05 00:34:31 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @figassis on GitHub (Aug 26, 2019).

Describe the bug
A clear and concise description of what the bug is.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Clone release branch (or download release archive 0.26.2+)
  2. Serve on nginx+php-fpm
  3. PHP logs show PHP message: PHP Fatal error: Uncaught Error: Class 'BookStack\Http\Request' not found in /var/www/html/public/index.php:54
  4. Error does not show when I use the master branch, but the master branch has no dist directory, so assets return 404.

Expected behavior
Show homepage

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): 0.26.2
  • PHP Version: php 7.3 fpm
  • Hosting Method: docker+nginx+php-fpm
Originally created by @figassis on GitHub (Aug 26, 2019). **Describe the bug** A clear and concise description of what the bug is. **Steps To Reproduce** Steps to reproduce the behavior: 1. Clone release branch (or download release archive 0.26.2+) 2. Serve on nginx+php-fpm 3. PHP logs show `PHP message: PHP Fatal error: Uncaught Error: Class 'BookStack\Http\Request' not found in /var/www/html/public/index.php:54` 4. Error does not show when I use the master branch, but the master branch has no dist directory, so assets return 404. **Expected behavior** Show homepage **Your Configuration (please complete the following information):** - Exact BookStack Version (Found in settings): 0.26.2 - PHP Version: php 7.3 fpm - Hosting Method: docker+nginx+php-fpm
OVERLORD added the 🐕 Support label 2026-02-05 00:34:31 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Aug 26, 2019):

Hi @figassis,
Sorry to hear you are experiencing issues.

That error message would only show if master branch files are in use or have been cached/compiled, that message should never show on release.
Please can you use the latest release files and ensure a composer install is done while using the release files. Might also need to run composer dump-autoload if you have master files cached.

@ssddanbrown commented on GitHub (Aug 26, 2019): Hi @figassis, Sorry to hear you are experiencing issues. That error message would only show if `master` branch files are in use or have been cached/compiled, that message should never show on `release`. Please can you use the latest release files and ensure a `composer install` is done while using the release files. Might also need to run `composer dump-autoload` if you have master files cached.
Author
Owner

@ssddanbrown commented on GitHub (Apr 8, 2020):

Due to the lack of response from the original issue author I will close this.
If this issue remains please feel free to open a new issue, referencing this one.

@ssddanbrown commented on GitHub (Apr 8, 2020): Due to the lack of response from the original issue author I will close this. If this issue remains please feel free to open a new issue, referencing this one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1312