yii-debug-toolbar
yii-debug-toolbar copied to clipboard
YiiDebugToolbarPanelSql sqlite exception
Sometimes the last panels Sql and ViewsRendering are breaking the stylesheets and some layouts looks different. On the same page the debugbar javascript is not working anymore (panel doesn't open). At first i thought this happens because the views are outside of tag, but it seems that the reason is different.
Actually this behavior is happening because of PHP Warning:
preg_match_all() [function.preg-match-all]: Compilation failed: unrecognized character after (?< at offset 3
/protected/extensions/debug-toolbar/panels/YiiDebugToolbarPanelSql.php(365) This is the actual line:
$matchResult = preg_match_all("/(?
I'm using sqlite database, maybe this is raising the exception.