Thread:Project:Support desk/Encountering error creating extension/reply (2)

Problem solved (I think), I put function randomFunction { global $wgOut; before the code and it got rid of the error message.