Q.Poor Runner Bean Crop
~When I dug the plot to compost, I saw white strands of what I assume was a fungus. ~Was this the cause of my problem, what is it, do I need to get rid of it, and if so, how, please.

Certified GKH Gardening Expert
Unfortunately, your photos did not come through. I cannot fully assess the situation. Although, without knowing the species of fungus and seeing the state of the beans, it will be impossible to say whether it was the cause or not. Many fungi are very helpful to the soil and plants, while some can be detrimental to them. If it were a fungus, would would notice other symptoms such as spots, dying leaves or plant matter, and poor growth, overall.
I would make sure that your soil nutrients are in proper proportions. Too much nitrogen or not enough potassium will be very common reasons for low crop yield. Testing soil will be necessary to rule this out, first. Once you know what the soil profile is looking like, you can begin to correct any issues and move on to the next causes.
This article will help you to test your soil:
https://www.gardeningknowhow.com/garden-how-to/soil-fertilizers/testing-soil.htm
This will help with the care of runner beans: