undefined_index redis_enabled_by_constant
-
This is fixed on github version
`
[05-Feb-2019 14:26:58 UTC] PHP Notice: Undefined index: redis_enabled_by_constant in /var/www/serious-wordpress.site/htdocs/wp-content/plugins/nginx-helper/admin/partials/nginx-helper-general-options.php on line 219
`
This is fixed on github version
`
public function nginx_helper_default_settings() {
return array(
‘enable_purge’ => 0,
‘cache_method’ => ‘enable_fastcgi’,
‘purge_method’ => ‘get_request’,
‘enable_map’ => 0,
‘enable_log’ => 0,
‘log_level’ => ‘INFO’,
‘log_filesize’ => ‘5’,
‘enable_stamp’ => 0,
‘purge_homepage_on_edit’ => 1,
‘purge_homepage_on_del’ => 1,
‘purge_archive_on_edit’ => 1,
‘purge_archive_on_del’ => 1,
‘purge_archive_on_new_comment’ => 0,
‘purge_archive_on_deleted_comment’ => 0,
‘purge_page_on_mod’ => 1,
‘purge_page_on_new_comment’ => 1,
‘purge_page_on_deleted_comment’ => 1,
‘redis_hostname’ => ‘127.0.0.1’,
‘redis_port’ => ‘6379’,
‘redis_prefix’ => ‘nginx-cache:’,
‘purge_url’ => ”,
‘redis_enabled_by_constant’ => 0,
);
}
`
Will you fix it in official repo version?
The page I need help with: [log in to see the link]
- The topic ‘undefined_index redis_enabled_by_constant’ is closed to new replies.