Expressions Errors in After Effects CC 2019
1. Go to: File > Project Settings > Expressions.
2. In the Expressions Engine list, select "Legacy ExtendScript" and click OK.