Error when change PHP version from 5.6 to 7.4

Elgg 2.3.14

I changed the PHP version from 5.6 to and got the following error:

Fatal error: Declaration of hypeJunction\Interactions\Comment::save() must be compatible with ElggComment::save($update_last_action = true) in mod/hypeInteractions/classes/hypeJunction/Interactions/Comment.php on line 161

Far from being PHP expert :)

How to fix?

Thank you