Repository: godot
Issue: EditorSettings set to array cause "Property not found" warning on launch
Labels: bug,topic:editor,needs testing

### Tested versions

v4.2.stable.official.46dc27791

### System information

Apple - Apple M1 Pro: macOS Ventura 13.4.1

### Issue description

Creating a custom editor setting that has an array as the value causes the following warning when launching Godot.  
```
WARNING: EditorSettings::_get - Property not found: TestEditorSettings/array_setting
     at: _get (editor/editor_settings.cpp:221)
```
This happens even after the value has been erased (`EditorInterface.get_editor_settings().erase(...)`).  The only way to make it go away is to remove the following entry from `editor_settings-4.tres`.
```
TestEditorSettings/array_setting = []
```
Using `EditorInterface.get_editor_settings().erase(...)` results in `EditorInterface.get_editor_settings().has_setting(...)` return ing `false`, but does not remove it from the `.tres` file.  I'm not sure if this is another bug or not.  If so, I can create another issue.

### Steps to reproduce

# Creating the setting causes warning
Using the MRP
1. Open the project in the editor
2. Enable the "Editor Settings Warning" plugin through Project Settings
3. From the command line, launch the project manager (for me:  `/Applications/Godot_4.2.app/Contents/MacOS/Godot -p`)
4. Warning will be printed to the command line.

From now on, whenever you launch the Godot editor for any project or the Project Manager, the warning will appear on the command line.  The warning does not seem to show up in the Editor output though.

# Removing the setting does not remove warning
If you disable the plugin, it will `erase` all settings that the plugin creates.  The plugin generates output that will show that Godot thinks the setting is gone, but the warning persists.

Using the MRP
1. Open the project in the editor
2. Disable the "Editor Settings Warning" plugin through Project Settings
3. Check output showing that `has_setting` is `false`
4. From the command line, launch the project manager
5. The warning still exists.


### Minimal reproduction project (MRP)

https://github.com/bitwes/GodotIssueEditorSettingWarning

# Relevant code from project:
The project is just a plugin that sets and erases some EditorSettings.  This is the only code in the project.  It sets the settings in `_enter_tree` and removes them when the plugin is disabled.

`res://addons/illustrate_issue/illustrate_plugin.gd`
```gdscript
@tool
extends EditorPlugin

var array_setting = 'TestEditorSettings/array_setting'
var string_setting = 'TestEditorSettings/string_setting'
var dictionary_setting = 'TestEditorSettings/dictionary_setting'

var settings = EditorInterface.get_editor_settings()

func _enter_tree():
	print('-- enter_tree --')
	print_has_settings()
	create_editor_setting()
	print_has_settings()

func _disable_plugin():
	print('-- disable_plugin --')
	print_has_settings()
	clear_editor_settings()
	print_has_settings()

func create_editor_setting():
	settings.set_setting(array_setting, [])
	settings.set_setting(dictionary_setting, {})
	settings.set_setting(string_setting, 'something')

func clear_editor_settings():
	settings.erase(array_setting)
	settings.erase(string_setting)
	settings.erase(dictionary_setting)

func print_has_settings():
	print('has ', array_setting, ' = ', settings.has_setting(array_setting))
	print('has ', string_setting, ' = ', settings.has_setting(string_setting))
	print('has ', dictionary_setting, ' = ', settings.has_setting(dictionary_setting))
```

_Edited_:  Added the rest of the warning output.