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

[1.5.2] Target class [config] does not exist. #673

Closed
rcerljenko opened this issue Apr 4, 2023 · 2 comments
Closed

[1.5.2] Target class [config] does not exist. #673

rcerljenko opened this issue Apr 4, 2023 · 2 comments

Comments

@rcerljenko
Copy link

rcerljenko commented Apr 4, 2023

  • Octane Version: 1.5.2
  • Laravel Version: 10.6.0
  • PHP Version: 8.1
  • Server & Version: Swoole 4.9
  • Database Driver & Version: MySQL 8.x

Description:

Hi,

With the latest octane update our server started to throw errors like this on every request.
We use database as our session driver if it means something.

{
    "class": "Illuminate\\Contracts\\Container\\BindingResolutionException",
    "message": "Target class [config] does not exist.",
    "code": 0,
    "file": "/var/www/html/moj-posao-cms/vendor/laravel/framework/src/Illuminate/Container/Container.php:916",
    "trace": [
        "/var/www/html/moj-posao-cms/vendor/laravel/framework/src/Illuminate/Container/Container.php:795",
        "/var/www/html/moj-posao-cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:933",
        "/var/www/html/moj-posao-cms/vendor/laravel/framework/src/Illuminate/Container/Container.php:731",
        "/var/www/html/moj-posao-cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:918",
        "/var/www/html/moj-posao-cms/vendor/laravel/framework/src/Illuminate/Container/Container.php:1456",
        "/var/www/html/moj-posao-cms/vendor/laravel/framework/src/Illuminate/Session/SessionManager.php:256",
        "/var/www/html/moj-posao-cms/vendor/laravel/framework/src/Illuminate/Support/Manager.php:68",
        "/var/www/html/moj-posao-cms/vendor/laravel/octane/src/Listeners/GiveNewApplicationInstanceToDatabaseSessionHandler.php:21",
        "/var/www/html/moj-posao-cms/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php:441",
        "/var/www/html/moj-posao-cms/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php:249",
        "/var/www/html/moj-posao-cms/vendor/laravel/octane/src/DispatchesEvents.php:20",
        "/var/www/html/moj-posao-cms/vendor/laravel/octane/src/Worker.php:177",
        "/var/www/html/moj-posao-cms/vendor/laravel/octane/bin/swoole-server:145",
        "/var/www/html/moj-posao-cms/vendor/laravel/octane/bin/swoole-server:170"
    ]
}

Steps To Reproduce:

This was referenced Apr 4, 2023
@nunomaduro
Copy link
Member

Fixed on 1.5.3.

@rcerljenko
Copy link
Author

thx man!

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

No branches or pull requests

2 participants