Hi,

I just tried to delete a user and I'm seeing this error. Could this be a problem in my site database? Site is running on Drupal 5.2.

user warning: 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 'WHERE uid = 1177' at line 1 query: DELETE FROM profile_privacy_values ppv WHERE uid = 1177 in /../public_html/includes/database.mysql.inc on line 172.

Thanks

Comments

vm’s picture

you are 17 bug fix and security releases behind. Update your site (using a test site) and check to see if it isn't a bug thats already been fixed.

While the above is important the issue looks like it is coming from a module you are using profile_privacy, check for updates on that module as well and if the issue isn't fixed by updating core and your modules. File an issue report against the offending module.

zirafi’s picture

Oh! thank you very much. Could you point me which one is direct upgradable version to 5.2?

thanks again

vm’s picture

5.19 which is listed on front page and subscribe to the security newsletter by editing your profile and clicking on the newsletters tab