This is the first time I see this bug. So building an altar queues it in the nearest's city build queue, but when upgrading the altar to a shrine, the upgrade takes place instantaneous, and the free elemental summons immediately. I'm playing as default Oracle Ceresa with Resoln.
I have last played Resoln in .983 and haven't encountered this bug.