Although mostly thought to be a fear of public places , it is now believed that agoraphobia develops as a complication of panic attacks .
The word agoraphobia means `` fear of the market place '' .