I just deleted the upnp=1 from the bitcoin.conf and rebooted the node, now that error script no longer appears. I was following a guide from bitcoin magagazine on setting up Sparrow with your node that includes that line and it's not necessary since I'm not using upnp.
By enabling UPnP in bitcoin's config, you'll have to enable UPnP in your router as well for it to work.
Although that's not necessary if you're using port forwarding or not aiming for inbound connections.