DIVI update 3.0.56 generates expecting T_PAAMAYIM_NEKUDOTAYIM error in logs

Just had 4 sites affected when updating to latest version of DIVI. The effect is that you get an error 500 when trying to access the site after the update. The logs show [02-Jul-2017 07:23:40 UTC] PHP Parse error: syntax error, unexpected ‘)’, expecting T_PAAMAYIM_NEKUDOTAYIM in /path/to/yoursite/wp-content/themes/Divi/epanel/custom_functions.php on line 2082 The solution that worked for […]