Does this happen with the current version of Pligg? 9.9 wasn't around a year ago. Maybe it's a fix in 9.9? You could check version changes. Sorry wish I could help.


Whenever I'm getting an error like this, I always output the actual SQL so that I can see what's going on. Could you add a line in libs/db.php right after line 233 like this:
You may not want to leave it in there for good (it will display anytime there's an error), but it will at least give you another clue as to what's going on in this particular situation.Code:echo '<p>SQL: [' . $query . ']</p>';