There’s a setting in WP Rocket that’s causing this.
One thing you can try is to disable “Remove unused CSS” in WP rocket as this doesn’t work as it should sometimes and removes CSS that is used as well.
See: https://docs.wp-rocket.me/article/1529-remove-unused-css
Another thing you can try is to exclude scripts from /wp-content/plugins/gp-premium/ folder.
Here is an article you may refer to with regards to this: https://docs.wp-rocket.me/article/39-excluding-external-js-from-concatenation
Try disabling other settings in File Optimization one by one as well to pinpoint the cause of the issue.
Kindly let us know how it goes. 🙂