Ryan asked me how to show php notice errors
In the top level (root) index.php find:
$modx->stopOnNotice = false;
change to:
$modx->stopOnNotice = true;
And if there’s a php notice error, it will be displayed
Thanks for merging the fixes, there were only few of them, though, if I recall correctly, the amount of database calls shown on the page will be increased due they weren’t recorded properly (or was it the time spent in mysql mode? Yeah, the time will in mysql mode will see increase cause it wasn’t calculated properly)
However, my hosting provider’s server breaks the connection on too much php notice errors (which are surpressed by default in modx) with the strange behaviour I had that adding an extra include solved the "problem".
Remon
P.S.
There are a few FIXME’s left in the parser, but I don’t think spending a lot of time to fix those is worth the effort.
In the reorganized parser, these errors’ are gone allready, and disabling the error callback function alltogether on a running site is perhaps a better idea then the "MODX parse error" being displayed, no?
I mean, the php error callback function is good for debugging purposes, but for a running site?
Disabling it makes the script also a bit faster ;-)