Title: Warning: Constant SQLITE_DRIVER_VERSION already defined
Last modified: August 6, 2025

---

# Warning: Constant SQLITE_DRIVER_VERSION already defined

 *  Resolved [taicv](https://wordpress.org/support/users/taicv/)
 * (@taicv)
 * [8 months, 1 week ago](https://wordpress.org/support/topic/warning-constant-sqlite_driver_version-already-defined/)
 * I install this plugin on a fresh WordPress and got this error.
 * **Warning**: Constant SQLITE_DRIVER_VERSION already defined in**\wp-content\plugins\
   sqlite-database-integration\version.php** on line **8**
 * as checked. I think we load version.php file in 2 files and cause error.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Jan Jakeš](https://wordpress.org/support/users/janjakes/)
 * (@janjakes)
 * [8 months, 1 week ago](https://wordpress.org/support/topic/warning-constant-sqlite_driver_version-already-defined/#post-18587957)
 * Hi [@taicv](https://wordpress.org/support/users/taicv/)! I’ve just tried this
   on a clean WordPress install but was unable to replicate the issue. Do you have
   any more information about where exactly and under which circumstances the error
   occurs?
 * The plugin code [uses `require_once` in all instances](https://github.com/search?q=repo%3AWordPress%2Fsqlite-database-integration%20version.php&type=code),
   so loading it in multiple files internally won’t be the culprit.
 *  Thread Starter [taicv](https://wordpress.org/support/users/taicv/)
 * (@taicv)
 * [8 months, 1 week ago](https://wordpress.org/support/topic/warning-constant-sqlite_driver_version-already-defined/#post-18588414)
 * After disabling the plugin and reactivating it, the warning is gone.
   I’m using
   LocalWP. The issue occurs if the site is cloned from a blueprint that already
   has the plugin activated.I think my case is rare. Thanks for the prompt response
   and the great plugin, Jan.
 *  Plugin Author [Jan Jakeš](https://wordpress.org/support/users/janjakes/)
 * (@janjakes)
 * [6 months, 4 weeks ago](https://wordpress.org/support/topic/warning-constant-sqlite_driver_version-already-defined/#post-18644954)
 * Hi [@taicv](https://wordpress.org/support/users/taicv/)! Thanks for the details!
   I’ve created an issue in the SQLite Database Integration repository on GitHub:
   [https://github.com/WordPress/sqlite-database-integration/issues/246](https://github.com/WordPress/sqlite-database-integration/issues/246)
 * I’d like to get to it at some point, but as you’ve said, it’s probably rather
   a rare case.
 * I believe we can close the issue here and track it on GitHub now.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Warning: Constant SQLITE_DRIVER_VERSION already defined’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sqlite-database-integration.svg)
 * [SQLite Database Integration](https://wordpress.org/plugins/sqlite-database-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sqlite-database-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sqlite-database-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/sqlite-database-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sqlite-database-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sqlite-database-integration/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jan Jakeš](https://wordpress.org/support/users/janjakes/)
 * Last activity: [6 months, 4 weeks ago](https://wordpress.org/support/topic/warning-constant-sqlite_driver_version-already-defined/#post-18644954)
 * Status: resolved