Hello again to all,
Recently I updated ArcGIS Pro to 2.8 to access more recent version of arcpy (thank you, Dan Patterson). However, I ran into a problem where that version froze on using the exportToJPEG() function, completely breaking some of my production scripts. This was eventually fixed by downgrading to ArcGIS Pro 2.7. However, has anyone else had issues with this? It's mystifying...