Why are you still using that outdated 1.7.8 presta version? Take the upgrade plugin and upgrade to presta 8.1.4 version. Ten minutes and it was upgraded from the first time and without an error. Everything works great and fast with php 7.4 so far. Minimally, only the theme needs to be adjusted...