Please disregard my message. I was able to fix the issue.
At the same time that I updated Generatepress, I also updated WP Rocket. I found out that the problem was with WP Rocket, not with Generatepress. I deactivated combining js files in WP Rocket and now everything is working okay.