Hello all,
Problem/Motivation
When I try to install autoslave on my Drupal 9.5.11, PHP 8.1.23, PostgreSQL 15.4 site, I get WSOD with the error message below:
The website encountered an unexpected error. Please try again later.
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "NOT" LINE 7: "ts" NOT NULL, ^: CREATE TABLE "autoslave_server_stats" ( "id" serial, "server_num" int NOT NULL, "n_select" int NULL, "n_insert" int NULL, "n_update" int NULL, "ts" NOT NULL, CONSTRAINT autoslave_server_stats____pkey PRIMARY KEY ("id") ); Array ( ) in Drupal\Core\Extension\ModuleInstaller->installSchema() (line 648 of core/lib/Drupal/Core/Extension/ModuleInstaller.php).
When I go back to /admin/modules
, I see the error message below, as a system message:
Error message
Warning: Undefined array key "datetime:normal" in Drupal\pgsql\Driver\Database\pgsql\Schema->processField() (line 392 of core/modules/pgsql/src/Driver/Database/pgsql/Schema.php).
Steps to reproduce
- Install Drupal (with PostgreSQL)
- Try to install autoslave 8.x-3.x-dev
What could be done, in order to solve this bug?
Best,
Orkut