if (!is_string($v)) {
$v = var_export($v,true);
}
[FIXED] wordwrap non-string warning
[FIXED] filter variable overwrite resulting in all filters failing
[FIXED] wordwrap non-string warning [FIXED] filter variable overwrite resulting in all filters failing
if (!is_string($value)) {
$value = var_export($value,true);
}
Did you change the lines I specified in the post a few minutes ago? (the second one, not the first one)
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: implode() [function.implode]: Bad arguments.
Error type/ Nr.: Warning - 2
File: C:\Documents and Settings\Marco M. Jaeger\My Documents\My Web Sites\www\cms\modx\assets\snippets\ditto\classes\debug.class.inc.php
Line: 51
Line 51 source: $ditto_IDs = array($ditto_lang["ditto_IDs_all"]." (".count($ditto->prefetch["dbg_IDs_pre"]).")"=>implode(", ",$ditto->prefetch["dbg_IDs_pre"]),$ditto_lang["ditto_IDs_selected"]." (".count($ditto->prefetch["dbg_IDs_post"]).")"=>implode(", ",$ditto->prefetch["dbg_IDs_post"]));
Parser timing
MySQL: 0.0106 s (21 Requests)
PHP: 0.0816 s
Total: 0.0921 s
Ok, [FIXED] implode error in debug
in the SVN HEAD
And I found why I didn’t catch this. I’d made an adjustment to the phpError function in the MODx core to send a Growl notificiation on notices but mistakenly typed a 2 instead of an 8 for the error code bypass. And since stopOnNotice was false, the errors got surpressed.
This discussion is closed to further replies. Keep calm and carry on.