Giter VIP home page Giter VIP logo

inspector-symfony's People

Contributors

arnedesmedt avatar ilvalerione avatar smilesrg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

inspector-symfony's Issues

Error at inspector:test

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

Serialization of 'Closure' is not allowed

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...

Argument 1 passed to Inspector\Symfony\Bundle\Listeners\KernelEventsSubscriber::endSegment() must be of the type string, array given

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

Return value of Inspector\Symfony\Bundle\Listeners\InspectorListener::startTransaction() must be an instance of Inspector\Models\Transaction, null returned

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.