-
Notifications
You must be signed in to change notification settings - Fork 49
Closed
Description
What happened?
When importing a site with this plugin and an existing database on my server with SQLite 3.34.1 I got a fatal error:
[18-Sep-2025 17:46:32 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 11 malformed database schema (_wp_sqlite_mysql_information_schema_schemata) - near "STRICT": syntax error in /srv/htdocs/wp-content/mu-plugins/sqlite-database-integration/wp-includes/sqlite/class-wp-sqlite-translator.php:401
Stack trace:
#0 /srv/htdocs/wp-content/mu-plugins/sqlite-database-integration/wp-includes/sqlite/class-wp-sqlite-translator.php(401): PDO->query('CREATE TABLE IF...')
#1 /srv/htdocs/wp-content/mu-plugins/sqlite-database-integration/wp-includes/sqlite/class-wp-sqlite-db.php(348): WP_SQLite_Translator->__construct(Object(PDO))
#2 /srv/htdocs/__wp__/wp-includes/class-wpdb.php(773): WP_SQLite_DB->db_connect()
#3 /srv/htdocs/wp-content/mu-plugins/sqlite-database-integration/wp-includes/sqlite/class-wp-sqlite-db.php(55): wpdb->__construct('', Object(SensitiveParameterValue), '151359310', '')
#4 /srv/htdocs/wp-content/mu-plugins/sqlite-database-integration/wp-includes/sqlite/db.php(84): WP_SQLite_DB->__construct('151359310')
#5 /srv/htdocs/wp-content/db.php(37): require_once('/srv/htdocs/wp-...')
#6 /srv/htdocs/__wp__/wp-includes/load.php(708): require_once('/srv/htdocs/wp-...')
#7 /srv/htdocs/__wp__/wp-settings.php(134): require_wp_db()
#8 /srv/htdocs/wp-config.php(105): require_once('/srv/htdocs/__w...')
#9 /srv/htdocs/__wp__/wp-load.php(55): require_once('/srv/htdocs/wp-...')
#10 /srv/htdocs/__wp__/wp-blog-header.php(13): require_once('/srv/htdocs/__w...')
#11 /srv/htdocs/__wp__/index.php(17): require('/srv/htdocs/__w...')
#12 {main}
thrown in /srv/htdocs/wp-content/mu-plugins/sqlite-database-integration/wp-includes/sqlite/class-wp-sqlite-translator.php on line 401

What would I expect?
It would be great if the plugin is compatible with this SQLite version, or it's able to load the SQLite binary version needed, or if at least it fails gracefully explaining why it cannot use these versions.
Metadata
Metadata
Assignees
Labels
No labels