The problem is solved.
I still have no idea what the problem was. But I installed the current version of pfSense to see if the WAN/LAN ports would show, and they did. I then booted off the newest version of OPNsense, and the WAN/LAN ports were there. I restored the older config and everything came back. I wasn't sure if the older config would work, so I was trying to install the older version, restore, and then upgrade.
But everything is working now.
I still have no idea what the problem was. But I installed the current version of pfSense to see if the WAN/LAN ports would show, and they did. I then booted off the newest version of OPNsense, and the WAN/LAN ports were there. I restored the older config and everything came back. I wasn't sure if the older config would work, so I was trying to install the older version, restore, and then upgrade.
But everything is working now.