forked from jenssegers/laravel-rollbar
-
Notifications
You must be signed in to change notification settings - Fork 41
Closed
Milestone
Description
Since upgrading to version 8.1.0, we have started receiving the following error:
Unresolvable dependency resolving [Parameter #0 [ <required> array $config ]] in class Rollbar\RollbarLogger {"exception":"[object] (Illuminate\Contracts\Container\BindingResolutionException(code: 0): Unresolvable dependency resolving [Parameter #0 [ <required> array $config ]] in class Rollbar\RollbarLogger at
This occurs even though Rollbar is not enabled in our configuration or .env
file.
Expected Behavior
- The application should not attempt to instantiate
Rollbar\RollbarLogger
since Rollbar is disabled. - No dependency resolution errors related to Rollbar should occur.
Actual Behavior
- The application throws an unresolvable dependency error related to
Rollbar\RollbarLogger
. - This issue started occurring only after updating to v8.1.0.
- There are no explicit calls to
Rollbar\RollbarLogger
in our code.
Steps to Reproduce
- Upgrade to Rollbar v8.1.0.
- Ensure that Rollbar is not enabled in the configuration.
- Run the application.
- Observe the error in the logs.
Additional Context
- This issue did not occur in previous versions.
- It seems like Rollbar is being instantiated even when not configured.
- The application was functioning as expected before the upgrade.
Would appreciate any guidance on resolving this issue! 🚀
leematt, JerryVerhoef and nepda
Metadata
Metadata
Assignees
Labels
No labels