pomm-project / pomm-symfony-bridge

Pomm2 shared elements for profiler between Silex and Symfony.
8 stars 17 forks source link

Unexpected error in profiler template #34

Open sanpii opened 6 years ago

sanpii commented 6 years ago
Key "time_ms" for array with keys "sql, parameters, session_stamp" does not exist.

in vendor/pomm-project/pomm-symfony-bridge/views/Profiler/db.html.twig (line 54)
stood commented 6 years ago

capturepommms For me it's ok. Do you have any more information ?

sanpii commented 6 years ago

I have this error with an invalid querry.

stood commented 6 years ago

invalidquery

I have no problem too

sanpii commented 6 years ago

I have no problem too

Too easy 😛

If I recall well, this is when I fought against the session builder to add a new type.

This is something like the bug I fixed in this PR https://github.com/pomm-project/Foundation/pull/105

But I can’t reproduce exactly the bug. This is probably when foundation send a query:pre message without query:post.