Hei Credooo,
I had the same problem and found the solution here >
Solution:
Change /lib/private/App/PlatformRepository.php line 148
from
public function normalizeVersion(string $version, ?string $fullVersion = null): string {
to
public function normalizeVersion($version, $fullVersion = null) {
Cheers