After upgrading MediaWiki to version 1.31.1 you will get error messages about calls to the undefined functions "wfProfileIn" and "wfProfileOut". These are calls to a custom profiler that is no longer used in MediaWiki. The extension will work again if you remove the calls or comment them out.