It can't find the file? Take a look at the path etc, see where it's getting it from or where it's set wrong.
require(/var/www/web/application/htdocs/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm trying to deploy a small app on fortrabbit but when I look in the console here is the error I have :
Pushing to user@repository.git
remote: Step1: Updating repository
remote: -> OK
remote:
remote: Step2: Deploying (strategy: no delete, excludes: no)
remote: -> OK
remote:
remote: Step3: Composer Hook
remote: -> Triggering install - get a coffee
remote: -> Installing way/form [dev-master 25d0667]
remote: -> Installing way/form [dev-master 25d0667]
remote: ! Composer threw 'RuntimeException'
remote: ! Failed to execute git clone --no-checkout 'git@github.com:JeffreyWay/Laravel-FormField.git' '/var/www/web/application/htdocs/vendor/way/form' && cd '/var/www/web/application/htdocs/vendor/way/form' && git remote add composer 'git@github.com:JeffreyWay/Laravel-FormField.git' && git fetch composer
remote: ! ~~~FAIL~~~
remote: Step4: Executing post-deploy script
remote: ~ PHP Warning: require(/var/www/web/application/htdocs/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/web/application/htdocs/bootstrap/autoload.php on line 17
remote: ~ PHP Fatal error: require(): Failed opening required '/var/www/web/application/htdocs/bootstrap/../vendor/autoload.php' (include_path='.:/opt/php/5.4/share') in /var/www/web/application/htdocs/bootstrap/autoload.php on line 17
remote: ~
remote: !! FAIL !!
remote: !! Script exited with error state
remote: !! FAIL !!
remote: > All Done <
To git@git1.eu1.frbit.com:repository.git
= [up to date] production -> production
2e5a195..4c9ddcc master -> master
updating local tracking ref 'refs/remotes/production/master'
Do you guys have any idea why I have the github error ? Thanks a lot for your help.
Thoma
Please or to participate in this conversation.