Same issue here immediately after updating to 5.10.0 on a multisites installation.
Site #1 on the network: posts displaying other related posts caused 500 errors
Site #2 on the network: posts displaying other related posts worked OK
Back to normal after deactivating YARPP.