As soon as I activated the plugin I got some PHP warnings like PHP Warning: array_key_exists() expects parameter 2 to be array, bool given in /var/www/src/wp-content/plugins/sqlite-object-cache/includes/class-sqlite-object-cache.php on line 138
That's because get_option returns false if the value hasn't already been set, so the array_key_exists call fails. Adding a default value in the get_option fixes the issue.
As soon as I activated the plugin I got some PHP warnings like
PHP Warning: array_key_exists() expects parameter 2 to be array, bool given in /var/www/src/wp-content/plugins/sqlite-object-cache/includes/class-sqlite-object-cache.php on line 138
That's becauseget_option
returns false if the value hasn't already been set, so thearray_key_exists
call fails. Adding a default value in theget_option
fixes the issue.