As the live environment is using PHP 7.4, the necessary adaptions are made:
=> 4.1.8 to 4.2.0 (adding PHP 7.4 compat in 4.2.0)