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.
I updated today to the latest version and during the database upgrade and received the following error message:
The following updates returned messages
atjs module
Update #7101
Failed: PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'DEFAULT NULL' at line 1: ALTER TABLE {atjs_listener} ADD `lookup_on_click` DEFAULT NULL; Array ( ) in db_add_field() (line 2844 of /home/user/Code/git/drupal/includes/database/database.inc).
Comments
Comment #2
david.hughesThanks again ehj-52n, I'll take a look into this. Been doing a bunch of work behind the scenes, specifically in making the listener usage data available to Views so haven't had a chance to catch up with looking into the library requirement issues. Will be dedicating today to checking over the module (with the views stuff) on a completely fresh site.
Comment #3
david.hughesJust pushed some changes including changes to the install file - is this still an issue? Tried deleting all new columns and re-running 7101, seems to function as expected on my install.
Comment #4
ehj-52n CreditAttribution: ehj-52n as a volunteer commentedThe error did not occur during the latest updates, hence I think that you fixed it.
Comment #5
david.hughesThanks!