Upgrade SQLite driver to 2.2.14 - #2032
Conversation
📊 Performance Test ResultsComparing 636b754 vs trunk site-editor
site-startup
Results are median values from multiple test runs. Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change |
|
It works well for me - I can import SQL: |
There was a problem hiding this comment.
The change looks good and I can confirm the SQL export from WordPress/sqlite-database-integration#268 can now be imported successfully. 🎉
Update: Turns out the following has been reported over here yesterday: WordPress/sqlite-database-integration#284.
However, I also noticed that it is not possible to activate the Wordfence plugin (on a fresh site) due to the following fatal error (this is the case for the current trunk as well, so not related to the PR).
[07-Nov-2025 13:23:06 UTC] Lock not acquired
[07-Nov-2025 13:23:10 UTC] PHP Warning: Trying to access array offset on null in /wordpress/wp-content/plugins/wordfence/lib/wfDB.php on line 162
[07-Nov-2025 13:23:10 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WP_SQLite_Driver::prepare() in /wordpress/wp-content/plugins/wordfence/lib/wfConfig.php:883
Stack trace:
#0 /wordpress/wp-content/plugins/wordfence/models/scanner/wfScanner.php(1339): wfConfig::set_ser('allScansSchedul...', Array)
#1 /wordpress/wp-content/plugins/wordfence/models/scanner/wfScanner.php(1199): wfScanner->unscheduleAllScans()
#2 /wordpress/wp-content/plugins/wordfence/lib/wordfenceClass.php(1130): wfScanner->scheduleScans()
#3 /wordpress/wp-content/plugins/wordfence/lib/wordfenceClass.php(1195): wordfence::runInstall()
#4 /wordpress/wp-content/plugins/wordfence/wordfence.php(146): wordfence::install_actions()
#5 /wordpress/wp-admin/includes/plugin.php(2387): include_once('/wordpress/wp-c...')
#6 /wordpress/wp-admin/includes/plugin.php(673): plugin_sandbox_scrape('wordfence/wordf...')
#7 /wordpress/wp-admin/plugins.php(60): activate_plugin('wordfence/wordf...', 'http://localhos...', false)
#8 {main}
thrown in /wordpress/wp-content/plugins/wordfence/lib/wfConfig.php on line 883
This is at the following line in wfConfig.php:883:
$stmt = $dbh->prepare("INSERT IGNORE INTO " . self::table() . " (val, name, autoload) VALUES (?, ?, ?)");
|
@ivan-ottinger thanks for testing it. I reproduced the issue, and as you found, it seems to be a plugin issue, and the Playground team has it already on their plate. |
Related issues
Proposed Changes
Testing Instructions
Pre-merge Checklist