Im updating pimcore v 6.9.6 to 10.6.3v.
Initially did all the changes to the folder structures manually and executed this command COMPOSER_MEMORY_LIMIT=-1
composer update
While migrating I'm getting below error
[error] Migration Pimcore\Bundle\CoreBundle\Migrations\Version20210107103923 failed during Execution. Error: "Please provide select options as associative array with fields "key" and "value"
In Select.php line 206: Please provide select options as associative array with fields "key" and "value"
I'm using php 8.1 v and mysql 8.0v, composer version is 2.5v.
select.php its in vendor folder showing:
public function setOptions(?array $options) {
if (is_array($options)) {
$this->options = [];
foreach ($options as $option) {
$option = (array)$option;
if (!array_key_exists('key', $option) || !array_key_exists('value', $option)) {
throw new InvalidArgumentException('Please provide select options as associative array with fields "key" and "value"');
}
$this->options[] = $option;
}
} else {
$this->options = null;
}
return $this;
}
Please help me to resolve this issue