In reply to James.

I suspect so, Mato. They did remove a lot of backwards-compatibility code when WordPress 5.2 switched to requiring PHP 5.6.20.