Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There's some SQL in this module trying to put a string into an integer column
warning: pg_query() [function.pg-query]: Query failed: ERROR: invalid input syntax for integer: "" in /home/brenda/workspace/drupal/drupalsites/moodleinschools/includes/database.pgsql.inc on line 139.
user warning: query: UPDATE spam_tracker SET score = 0, hostname = 1300924527, timestamp = 0 WHERE content_type = '17' AND content_id = '' in /home/brenda/workspace/drupal/drupalsites/moodleinschools/sites/all/modules/contrib/spam/spam.module on line 297.
Trivial patch attached.
Comment | File | Size | Author |
---|---|---|---|
spam.module.patch | 814 bytes | Shiny |
Comments
Comment #1
AlexisWilke CreditAttribution: AlexisWilke commentedAs far as I know this is fixed in the development version. If you would please check and report whether you have problems with the 1.x-dev version, it would be great.
Thank you.
Alexis Wilke
Comment #2
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedthis was indeed fixed.