platformsh-templates / laravel

Laravel template for Platform.sh.
23 stars 98 forks source link

Project production environment returning 500 error #47

Open gilzow opened 1 year ago

gilzow commented 1 year ago

Describe the bug

During VRT tests for PR #46 the production environment returned a 500 error. Redeployed production and it reported success. Only issue I noticed in the deploy is

  Executing deploy hook for application app

    In Application.php line 749:

      Class "BeyondCode\DumpServer\DumpServerServiceProvider" not found  

Error log shows

2023/02/13 22:12:14 [error] 224#0: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught ReflectionException: Class "cache" does not exist in /app/vendor/laravel/framework/src/Illuminate/Container/Container.php:875

Include some logs

2023/02/13 22:12:14 [error] 224#0: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught ReflectionException: Class "cache" does not exist in /app/vendor/laravel/framework/src/Illuminate/Container/Container.php:875

Reproducing

N/A

Expected behavior

Server response of 200

Your environment

Platform.sh

Screenshots

No response

Additional context

No response

thomasdiluccio commented 1 year ago

I got that one multiple time. If I remember correctly, some cache couldn't be cleared correctly. I believe, some clear cache command is triggered while not having write access.