Sonar scanner not working after upgrade sonarqube from 9 to 10.6

Take a look here.

If the issue is with a specific third-party plugin, you’ll need to reach out to the vendor.