Problem with module install

Created on 26 April 2019, over 5 years ago
Updated 17 April 2023, over 1 year ago

When I install the module, I get this error.

PDOException: 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 UNIQUE instead: CREATE TABLE {filefield_mail} ( `did` INT unsigned auto_increment DEFAULT NULL, `fid` INT unsigned DEFAULT 0, `uid` INT unsigned DEFAULT 0, `email` VARCHAR(255) NOT NULL, `changed` INT NOT NULL DEFAULT 1, `count` INT NOT NULL DEFAULT 0, PRIMARY KEY (`did`) ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8; Array ( ) in db_create_table() (line 2776 of /var/www/drupal7/includes/database/database.inc).

🐛 Bug report
Status

Needs review

Version

1.4

Component

Code

Created by

🇺🇦Ukraine Amsteri

Live updates comments and jobs are added and updated live.
  • PHP 7.2

    The issue particularly affects sites running on PHP version 7.2.0 or later.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024