inspector-apm / inspector-symfony Goto Github PK
View Code? Open in Web Editor NEWConnect your Symfony application to Inspector.
Home Page: https://www.inspector.dev
License: MIT License
Connect your Symfony application to Inspector.
Home Page: https://www.inspector.dev
License: MIT License
With
php bin/console inspector:test
I get
In InspectorTestCommand.php line 89:
Attempted to call an undefined method named "info" of class "Symfony\Component\Console\Style\SymfonyStyle".
in Symfony 4.4
When inspector tries to serialize the envelope. It throws an exception because it's trying to serialize a closure.
"class": "Exception",
"message": "Serialization of 'Closure' is not allowed",
"code": 0,
"file": "/var/www/vendor/inspector-apm/inspector-symfony/src/Listeners/MessengerEventsSubscriber.php:77",
It happens here: https://github.com/inspector-apm/inspector-symfony/blob/master/src/Listeners/MessengerEventsSubscriber.php#L77
I don't know how it could be solved. Maybe just remove that line? But then we don't have any envelope context...
Hi,
When will symfony v6 be supported?
Thx in advance!
Hi
I Install EasyAdmin and this is the error :
Argument 1 passed to Inspector\Symfony\Bundle\Listeners\KernelEventsSubscriber::endSegment() must be of the type string, array given, called in /shared/httpd/xxxx/app/vendor/inspector-apm/inspector-symfony/src/Listeners/KernelEventsSubscriber.php on line 204
"php": ">=7.4",
"inspector-apm/inspector-symfony": "^1.0",
"easycorp/easyadmin-bundle": "^3.5",
Symfony 5.3.5
Thank you
My best regards
After updating to latest develop:
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 255
!! 07:10:08 CRITICAL [php] Uncaught Error: Return value of Inspector\Symfony\Bundle\Listeners\InspectorListener::startTransaction() must be an instance of Inspector\Models\Transaction, null returned ["exception" => TypeError { …}]
!!
!! In InspectorListener.php line 160:
!!
!! Return value of Inspector\Symfony\Bundle\Listeners\InspectorListener::start
!! Transaction() must be an instance of Inspector\Models\Transaction, null ret
!! urned
!!
!!
!! cache:clear [--no-warmup] [--no-optional-warmers]
!!
!!
Script @auto-scripts was called via post-update-cmd
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.