Giter Club home page Giter Club logo

Comments (9)

barryvdh avatar barryvdh commented on May 13, 2024

Any uses why doesnt load the middleware? Do you have the latest debugbar version?

from laravel-debugbar.

ryanhungate avatar ryanhungate commented on May 13, 2024

Hey Barry… honestly I'm not 100% sure at all, because this would take me a little dissecting, but i do know that Cartalyst/Platform overrides the default Laravel Router / Request / Response stuff, so ill ping the Cartalyst guys and ask them.

On Dec 26, 2013, at 10:01 AM, Barry vd. Heuvel wrote:

Any uses why doesnt load the middleware? Do you have the latest debugbar version?


Reply to this email directly or view it on GitHub.

from laravel-debugbar.

barryvdh avatar barryvdh commented on May 13, 2024

Do you have any more info? I read somewhere the Platform updated its API's to 4.1, don't know if that made any difference?

from laravel-debugbar.

ryanhungate avatar ryanhungate commented on May 13, 2024

Actually, I am on the 4.1 as well, and the problem is still there. Im sorry, I had told you I was going to get a hold of them but I have been super busy, and my quick fix did the trick for the time being… Ill try to get that done.

On Jan 3, 2014, at 8:41 AM, Barry vd. Heuvel wrote:

Do you have any more info? I read somewhere the Platform updated its API's to 4.1, don't know if that made any difference?


Reply to this email directly or view it on GitHub.

from laravel-debugbar.

barryvdh avatar barryvdh commented on May 13, 2024

Okay, let me know if you have more info or when it is fixed. Keep it open for now.

from laravel-debugbar.

barryvdh avatar barryvdh commented on May 13, 2024

Closing until someone also has this issue, or it is more clear what the issue was.

from laravel-debugbar.

joshuajabbour avatar joshuajabbour commented on May 13, 2024

This can probably be fixed by moving the Debugbar service provider above the Platform one in the array in app.php. See https://github.com/cartalyst/api/issues/34 for a similar issue.

from laravel-debugbar.

barryvdh avatar barryvdh commented on May 13, 2024

Okay so anything I can do? (I can't open the cartalyst issue, not a subscriber..)

from laravel-debugbar.

joshuajabbour avatar joshuajabbour commented on May 13, 2024

No, not really. They've also just landed https://github.com/cartalyst/api/pull/35, which fixes the issue and doesn't require user intervention. (I'm not sure if API is causing the Platform issues described above, or if there's a separate fix needed for that.)

But long story short, it's a problem related to overriding the router. So if someone sees this issue again with any package that overrides or extends the router, a possible fix is to move the Debugbar service provider before those packages' providers. That might allow Debugbar to still inject its code in the after filter.

Moving the Debugbar service provider isn't need any longer with today's update to API 2.0-beta, but wanted to share the info here.

from laravel-debugbar.

Related Issues (20)

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.