Skip to content

WordPress Studio 1.5.6 database pull is not working #1700

Description

@rharunzade

Quick summary

I'm using Studio App at website hosted at Pressable and pull database is not working on version 1.5.6.
It's working fine on version 1.5.5

Error is seems following:

[2025-08-19T20:19:10.055Z][warn][wp-cli-process] PHP.run() output was: #!/usr/bin/env php
<br />
<b>Fatal error</b>:  Uncaught Exception: FOREIGN KEY and CHECK constraints are not supported yet. in /var/www/html/wp-content/mu-plugins/sqlite-database-integration/wp-includes/sqlite-ast/class-wp-sqlite-information-schema-builder.php:1108
Stack trace:
#0 /var/www/html/wp-content/mu-plugins/sqlite-database-integration/wp-includes/sqlite-ast/class-wp-sqlite-information-schema-builder.php(979): WP_SQLite_Information_Schema_Builder-&gt;record_add_constraint(false, 'wp_gravitysmtp_...', Object(WP_Parser_Node))
#1 /var/www/html/wp-content/mu-plugins/sqlite-database-integration/wp-includes/sqlite-ast/class-wp-sqlite-information-schema-builder.php(516): WP_SQLite_Information_Schema_Builder-&gt;record_add_constraint_or_index(false, 'wp_gravitysmtp_...', Object(WP_Parser_Node))
#2 /var/www/html/wp-content/mu-plugins/sqlite-database-integration/wp-includes/sqlite-ast/class-wp-sqlite-driver.php(1464): WP_SQLite_Information_Schema_Builder-&gt;record_create_table(Object(WP_Parser_Node))
#3 /var/www/html/wp-content/mu-plugins/sqlite-database-integration/wp-includes/sqlite-ast/class-wp-sqlite-driver.php(925): WP_SQLite_Driver-&gt;execute_create_table_statement(Object(WP_Parser_Node))
#4 /var/www/html/wp-content/mu-plugins/sqlite-database-integration/wp-includes/sqlite-ast/class-wp-sqlite-driver.php(702): WP_SQLite_Driver-&gt;execute_mysql_query(Object(WP_Parser_Node))
#5 /tmp/sqlite-command/src/Import.php(54): WP_SQLite_Driver-&gt;query('CREATE TABLE `w...')
#6 /tmp/sqlite-command/src/Import.php(38): Automattic\WP_CLI\SQLite\Import-&gt;execute_statements('studio-backup-s...')
#7 /tmp/sqlite-command/src/SQLite_Command.php(45): Automattic\WP_CLI\SQLite\Import-&gt;run('studio-backup-s...', Array)
#8 [internal function]: Automattic\WP_CLI\SQLite\SQLite_Command-&gt;import(Array, Array)
#9 /tmp/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func(Array, Array, Array)
#10 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(Array, Array)
#11 /tmp/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(497): call_user_func(Object(Closure), Array, Array)
#12 phar:///tmp/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(470): WP_CLI\Dispatcher\Subcommand-&gt;invoke(Array, Array, Array)
#13 phar:///tmp/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(493): WP_CLI\Runner-&gt;run_command(Array, Array)
#14 phar:///tmp/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(136): WP_CLI\Runner-&gt;run_command_and_exit()
#15 phar:///tmp/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1349): WP_CLI\Runner-&gt;do_early_invoke('after_wp_config...')
#16 phar:///tmp/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1293): WP_CLI\Runner-&gt;load_wordpress()
#17 phar:///tmp/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner-&gt;start()
#18 phar:///tmp/wp-cli.phar/vendor/wp-cli/wp-cli/php/bootstrap.php(84): WP_CLI\Bootstrap\LaunchRunner-&gt;process(Object(WP_CLI\Bootstrap\BootstrapState))
#19 phar:///tmp/wp-cli.phar/vendor/wp-cli/wp-cli/php/wp-cli.php(35): WP_CLI\bootstrap()
#20 phar:///tmp/wp-cli.phar/php/boot-phar.php(20): include('phar:///tmp/wp-...')
#21 /tmp/wp-cli.phar(4): include('phar:///tmp/wp-...')
#22 /tmp/run-cli.php(37): require('/tmp/wp-cli.pha...')
#23 {main}

Steps to reproduce

Try to pull database on version 1.5.6 (tested with website at Pressable)

What you expected to happen

Database import

What actually happened

App failed with error

Image

Impact

All

Available workarounds?

No and the app is unusable

Platform

Apple Silicon

Logs or notes

studio.log

Metadata

Metadata

Assignees

Labels

CombatibilityRelated to compatibility with third-party plugins and themes (WooCommerce, Jetpack, etc.)SyncRelated to syncing local sites to production or staging.YOLO

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions