For the past few months I have been getting the following error. I believe I have traced it back to articlebot.php
Code:
Database error in vBulletin 3.0.3:
Invalid SQL:
UPDATE user
SET posts = posts + Array
WHERE userid = 0
mysql error: Unknown column 'Array' in 'field list'
mysql error number: 1054
Date: Thursday 09th of December 2004 05:00:03 PM
Script: http://
Referer:
Username: Unregistered
IP Address:
The error seems to be related to this bit of code:
Code:
if (is_array($users))
{
foreach ($users as $userid => $user_posts)
{
/* +---------------------------------+
| Query: update article bot(s) |
+---------------------------------+ */
$DB_site->query("
UPDATE ".TABLE_PREFIX."user
SET posts = posts + $user_posts
WHERE userid = $userid
");
}
}
Any idea how $userposts could take on a non-numeric value? I have two robots and I believe that one of them currently has no RSS assignments.
Regards,
Matt