I'm tryin to add fileUpload to my multisite plugin ,while adding a new domain i want to upload the country flag of that website. I trie some things but this error showed up while trying to adisplay the crating new domain form. error:
Model'Keios\Multisite\Models\Setting' does not contain a definition for 'image' october cms
i created an other plugin kin which i add the changes i want to create in multisite plugin
MultisiteModel::extend(function (MultisiteModel $model){
$model->attachOne=[
'flag' => 'System\Models\File'
];
});