I think this isThis definitely isn’t the error I worked around in Update composer.json · planningalerts-scrapers/KingboroughCouncil@458f141 · GitHub (updating dependencies to a new version of the dom parser) and Switch to Torann::DomParser · planningalerts-scrapers/KingboroughCouncil@6147b13 · GitHub (which updates the code to use the new dom parser)
But I would suggest updating to use the dom parser I used there rather than the simple_html_dom.php, which is unfortunately about 6 years old at this point and hasn’t kept up with the php versions available on the newer platform.
When I had to make changes, it took me a while to figure out how to update Composer.lock. I ended up documenting the solution I used at I don't usually develop PHP; how can I update composer.lock? - #2 by jamezpolley but there are probably simpler ways to do it.