Can´t make star rating to work

You aren’t getting an error, only a warning. The issue shouldn’t affect the execution.

The Ratings by User uses a Lightbox, but that doesn’t mean that you need to as well. It’s just demonstration of the Rating element.