Getting error when installing elasticsearch

I am trying to configure my site with elasticsearch. Since the platform I am using has elasticsearch php client by default, the user just need to configure it. I was following their guide, but got this error: Fatal error: Uncaught exception

What could be the issue?