Comments (6)
Sorted...
I tried by running:
php artisan clear-compiled
Which didn't work. So had to manually delete:
bootstrap/cache/*
from laravel-airbrake.
Actually, I'm having to do this each time I'm running composer update.
I'm not a PHP expert - but this doesn't seem normal? Is it something to do with this package?
from laravel-airbrake.
Hi @devedup
Can you show me how you are using this package. For example are you using the "Custom Channel", the "Exception Handler" or the "Monolog Configuration.
Can you also provide the version of PHP and Laravel please and a full stack trace.
from laravel-airbrake.
PHP 7.3.21, however same issue on 7.4.9
It's happening since I update to Laravel 8.31.0
Not quite a stack trace, but this is what I get at the end of composer update:
remote: Generating optimized autoload files
remote: > Illuminate\Foundation\ComposerScripts::postAutoloadDump
remote: > @php artisan package:discover
remote:
remote: In Container.php line 1057:
remote:
remote: Unresolvable dependency resolving [Parameter #0 [ <required> $opt ]] in cla
remote: ss Airbrake\Notifier
remote:
remote:
remote: Running Opimizations
remote:
remote: In Container.php line 1057:
remote:
remote: Unresolvable dependency resolving [Parameter #0 [ <required> $opt ]] in cla
remote: ss Airbrake\Notifier
remote:
remote:
remote:
remote: In Container.php line 1057:
remote:
remote: Unresolvable dependency resolving [Parameter #0 [ <required> $opt ]] in cla
remote: ss Airbrake\Notifier
remote:
remote:
remote:
remote: In Container.php line 1057:
remote:
remote: Unresolvable dependency resolving [Parameter #0 [ <required> $opt ]] in cla
remote: ss Airbrake\Notifier
remote:
remote:
remote: Done
I'm using both the Monolog config:
'airbrake' => [
'driver' => 'custom',
'via' => Kouz\LaravelAirbrake\AirbrakeLogger::class,
'level' => 'error',
],
and in the report exception handler in Handler.php
public function report(Throwable $e)
{
if ($this->shouldReport($e)) {
$airbrakeNotifier = \App::make('Airbrake\Notifier');
$airbrakeNotifier->notify($e);
}
parent::report($e);
}
It's all been working perfectly - just noticed this error now trying to do a composer update.
from laravel-airbrake.
Hi, did you resolved this issue? I am currently looking at the same problem...
Thanks
from laravel-airbrake.
I haven't been able to replicate this issue
from laravel-airbrake.
Related Issues (14)
- unauthorized: User not found or access denied. HOT 6
- Is it sending user attributes to Errbit? HOT 2
- No longer works with Laravel 7.x HOT 5
- Issue with Laravel 7 & guzzle HOT 2
- Laravel 8 support HOT 1
- Update `keysBlacklist` option to `keysBlocklist` HOT 2
- Update docs to reflect the new handler syntax HOT 2
- Upgrading to new versions of phpbrake with support for 'host' HOT 1
- Error Reporting only on Production? HOT 3
- Include always Request if possible HOT 2
- Lumen support HOT 7
- unable to install
- Can't install on Laravel 6 because of monolog/monolog version. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-airbrake.