i have a d7 installation with some module, since few days ago my website coming VERY slow and in logs i can see:

mass_messaging 10/05/2011 - 10:10
SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'uid' at row 1

php 10/05/2011 - 10:10
Notice: Undefined offset: 1 in DatabaseStatementBase->fetchAllKeyed() (line 2178 of /home/u4586/domains/****/includes/database/database.inc).

php 10/05/2011 - 10:10
Notice: Undefined index: uid in DatabaseStatementBase->fetchAllKeyed() (line 2178 of /home/u4586/domains/****/includes/database/database.inc).

can somebody tell me that can be the origin of this error and how to solve it?

thank u.

Comments

jnpwebdeveloper’s picture

Getting exactly the same issues. I can see that I get them on every cron run. It's odd. I have many modules installed and it's hard pint pointing the exact issue. I thought it might be a caching issue. Based on your timestamp I would guess you have the same issue on cron.

Andy1966uk’s picture

same here on 7.9, no idea where to start looking for it...

johaziel’s picture

I disabled the module userpoints and it was ok !
cron runs successful and drupal goes faster

I found this on
http://www.wsusg.com/?q=content/dir-web-comm-10-02-2011-weekly-report

if it works for you too, should post this in an issue

Jo

Andy1966uk’s picture

Shame, I use Userpoints quite a lot.. do you use an alternative module ?

sashken2’s picture

I'm uninstall "Userpoints rules integration" and all works good

RaRi’s picture

Thx for the info with userpoints.
After deactivation everything runs okay again ...