Hi,

I've built a site over the past few months ( I'm completely new to drupal with a low level of website knowledge- but I've persevered ). I've added about 20 modules including og, legal, Im Paypal- I mention them because having looked around the forum they seem to have caused others problems. Recently I loaded onto it about 74 new users. I'm noticing two types of error messages in the log's - they show up multiple times ( about 74 from quick counting on the screen - I think this must be related to the number of users ???) when anyone including myself ( the admin ) logs in. They don't seem to be stopping the site from working, and I don't have errors set to show on the screen, although I'm worried that they might in the end cause detrimental effects for users as I'm hoping to have many hundreds if not thousands of users.

Here's the error messages what I as the admin generate when I log-in:

Missing argument 2 for variable_get() in /homepages/41/d87185464/htdocs/**mydomainname**/includes/bootstrap.inc on line 266.

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '1,94 AND uid != 0' at line 1 query: SELECT * FROM user WHERE uid IN 1,94 AND uid != 0 in /homepages/41/d87185464/htdocs/**mydomainname**/includes/database.mysql.inc on line 120.

Here's the error messages that got generated when one of my users logged in :

Missing argument 2 for variable_get() in /homepages/41/d87185464/htdocs/**mydomain**/includes/bootstrap.inc on line 266.

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '1,65 AND uid != 0' at line 1 query: SELECT * FROM user WHERE uid IN 1,65 AND uid != 0 in /homepages/41/d87185464/htdocs/**mydomain**/includes/database.mysql.inc on line 120.

I'd really appreciate some expert advice on how to hopefully get rid of these errors. On forum node 74023 they're are people talking about the legal module. Could this be related?

Many thanks.

Comments

asimmonds’s picture

If using profile_visit, see this issue: http://drupal.org/node/71745

uknewperson’s picture

I'm not sure though after reading the post how to fix my problem. Do I need to load an updated module ? Should I tunr profile module off and see if error messages are still generated? Thanks for your prompt reply to my initial post. I did try to extensively search the forum but I never came up with node 71745.

asimmonds’s picture

Try disabling the profile_visit module, that hopefully should rid you of the errors.

No, profile_visit hasn't been updated to fix this problem and a suitable patch has not been produced from the discussion in the #71745 thread.

uknewperson’s picture

I'm surprised that there are not many otehr threads detailing and issue with profile_visit. For information I also never actually got the module to work. I'm going to try re-installing it to see if that works.