• Resolved taicv

    (@taicv)


    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š

    (@janjakes)

    Hi @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, so loading it in multiple files internally won’t be the culprit.

    Thread Starter taicv

    (@taicv)

    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š

    (@janjakes)

    Hi @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

    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.