Error Log Warning – Undefined array key “default”
-
Hello Javier,
I am posting a minor item for clean up in a future release. I just noticed the following error log entry using version 1.21.2 and am suggesting a fix to prevent the log generation.
This is the error log:
[04-Nov-2022 11:47:11 UTC] PHP Warning: Undefined array key “default” in /home/***/***/blog/wp-content/plugins/import-users-from-csv-with-meta/classes/settings.php on line 209
The suggested change to the settings.php file before line 209 which is
return $settings[ $option ]['default'];
is to insert the following:if( !isset( $settings[ $option ]['default'] ) ) return false;
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Error Log Warning – Undefined array key “default”’ is closed to new replies.