Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Conversation

@bgrgicak
Copy link
Contributor

If both WP_SQLITE_AST_DRIVER and $_ENV['WP_SQLITE_AST_DRIVER'] aren't defined the SQLite database integration plugin plugin throws a warning on the site.

Warning: Undefined array key "WP_SQLITE_AST_DRIVER" in /var/www/html/wp-content/mu-plugins/sqlite-database-integration/constants.php on line 56

This fix ensures $_ENV['WP_SQLITE_AST_DRIVER'] is set before reading it.

@bgrgicak bgrgicak self-assigned this Mar 28, 2025
@bgrgicak bgrgicak requested a review from JanJakes March 28, 2025 09:38
Copy link
Contributor

@JanJakes JanJakes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks!

@bgrgicak bgrgicak merged commit b87897e into develop Mar 28, 2025
10 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants