Some of WPILib/CTRE doesn't work?

I just upgraded/imported our old project into the 2019 setup to test and see how all that works.
I reinstalled all the required libraries, etc.

However there are some things that do not seem to work. SensorBase doesn’t work, and all the interfacing with encoders connected via TalonSRX don’t seem to work either. Both of these are throwing me errors. I think I know what’s up with the SensorBase issue (Likely there is a library update I missed), but I have no clue why I cannot access the encoders.

I looked at the docs, and there don’t seem to be any change with them. Idk if I missed anything, but this should be working, especially as it works before importing to VSCode. I don’t know where I’m going wrong. Anyone know why?

SensorBase is not one of our classes. And we don’t do anything with WPI’s SensorBase this season or last season. More context might help.

SensorBase changed in WPILib. If you had classes calling it, you’ll need to update. https://github.com/wpilibsuite/allwpilib/pull/813

I got SensorBase figured out.

Anything relating to getSensorCollection() is throwing an cannot find symbol error

Just tried it in Java, works for me.

Also examples uses it in a few places.
https://github.com/CrossTheRoadElec/Phoenix-Examples-Languages/search?q=getSensorCollection&unscoped_q=getSensorCollection

Make sure you check the errors in the terminal, and not the other tabs in VS. They sometimes are stale.

Instructions for posterity…
https://phoenix-documentation.readthedocs.io/en/latest/ch05a_CppJava.html?highlight=terminal