Jump to content

Tracy shows error page with out of date error after code has been fixed!


Recommended Posts

Posted

I've noticed this a couple of times. I load a page and it crashes, Tracy gives me a big red page with helpful info on it.

I then fix the problem, and reload the page - but the error won't go away.

For example the screenshot below shows and error saying "Call to undefined function ProcessWore\pappub_inlay_request()", and then highlights a line in my code that (now because it's been fixed) doesn't show the code from the error message! One part of the page is lying to me, and it doesn't go away until some timeout. I'm guessing a cache timeout? But I've tried adding a ?something=123 var and that didn't fix anything either: still received the old error that no longer correlates to the actual code; Tracy seems to be intercepting my actual code to show me the old error!

 

image.png.e9286b3514e61ac5a032e69b81cc0677.png

Anyone else had this?

 

Posted

Have you tried a hard reload in the browser? I know it sounds strange, but I have seen PW return cached results before. Please let me know if that works.

  • 2 weeks later...
Posted

@adrian oh yeah, I'm all about the hard reload. I have basically stuck tape over my Ctrl key.

But sadly it didn''t help.

It's so weird how it exhibits the error, yet quotes the corrected code!

Posted

I only have one pw site at the mo, and I can't reproduce it reliably. It's just happened a few times and I wondered if anyone else had the problem.

The main bother of it is that, typically I'm in a hurry to debug the crash, not debug the debugger at the time of the crash!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...