@guntars on WordPress.org
Posted a reply to Error after updating to php 7.2, on the site WordPress.org Forums:Typically such issue is caused by ad inserters or Facebook,Twitter etc. link/share button plugins.