[plug] Decent open source digg clone?
Lyndon Maydwell
maydwell at gmail.com
Mon Apr 17 20:38:49 WST 2006
Apparently it's caused by placing break/continue inside 'if'
statements and similar. These are only meant to be used in
for/while/case constructs. You could look into the source code were
the error is being raised, and rework it into a nested if.
eg.
FROM
if(blah) {
do foo
if(blab) break;
do bar
}
TO
if(blah) {
do foo
if(! blab) {
do bar
}
}
But more than likely the problem has been fixed in a newer release
which would be easier than (but not as fun as) tweaking the source
yourself.
Not sure about the other error.
More information about the plug
mailing list