Haven't you continued here: Trying to downgrade mod_hvp from 1.27.0 to 1.23.0?
As apparent in discussion Ken linked to, The future of H5P Core version, you have to understand the H5P landscape for that. And I don't: See [hvp] Content throws "Exception - Call to undefined function str_contains()". 
Anyway, please follow up in Trying to downgrade mod_hvp from 1.27.0 to 1.23.0.