Conversation
supportPlease change the code in the "version.php" file There are closed topics where other users have already reported this same problem with PHP warnings. "Warning: Constant SQLITE_DRIVER_VERSION already defined in /home/.../public_html/free/wp-content/plugins/sqlite-database-integration/version.php on line 9" BEFORE : <?php /** * The version of the SQLite driver. * * This constant needs to be updated on plugin release! */ define( 'SQLITE_DRIVER_VERSION', '2.2.16' ); AFTER <?php /** * The version of the SQLite driver. * * This constant needs to be updated on plugin release! */ if ( !defined('SQLITE_DRIVER_VERSION')) { define( 'SQLITE_DRIVER_VERSION', '2.2.16' ); } This topic was modified 4 months, 1 week ago by cfeldens .
Hi, @cfeldens ! Thanks for reaching out. Could you, please, provide more details about what issues or PHP warnings you are encountering and in what setup we could replicate them? Is it perhaps a duplicate of https://wordpress.org/support/topic/warning-constant-sqlite_driver_version-already-defined/ and https://github.com/WordPress/sqlite-database-integration/issues/246 ? Additionally, did you mean if ( !defined('ABSPATH')) { or if ( !defined('SQLITE_DRIVER_VERSION')) { ? I’m taking guesses here, so please let me know if I got anything wrong. Thanks, Jan
Hi, @cfeldens ! Thanks for reaching out. Could you, please, provide more details about what issues or PHP warnings you are encountering and in what setup we could replicate them? Is it perhaps a duplicate of https://wordpress.org/support/topic/warning-constant-sqlite_driver_version-already-defined/ and https://github.com/WordPress/sqlite-database-integration/issues/246 ? Additionally, did you mean if ( !defined('ABSPATH')) { or if ( !defined('SQLITE_DRIVER_VERSION')) { ? I’m taking guesses here, so please let me know if I got anything wrong. Thanks, Jan