Could you please send us a link to your website where we can see this issue? Also, disable all external plugins and switch to the parent theme. Don’t forget to clean your WP Rocket cache as well.
If the error still exists then the code is still there. Try to reinstall the theme. Maybe you have added it to the style.css file. Also, be sure that you have cleared the cache completely as well as a CDN.