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'm unable to install this module on a particular installation of Drupal.
It throws the following error:
exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1171 All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use [error]
UNIQUE instead' in /Users/admin/Sites/iabuk/includes/database/database.inc:2171
Adding a NOT NULL value to the object in the installation file fixed this error. This issue occurred on MySQL 5.7.10. Patch attached.
Comment | File | Size | Author |
---|---|---|---|
node_subpages-installation-fix-7.x-2.x.patch | 388 bytes | rm-rf |
Comments