Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: for search wordpress #152

Open
web-user opened this issue Oct 31, 2017 · 2 comments
Open

Fatal error: for search wordpress #152

web-user opened this issue Oct 31, 2017 · 2 comments

Comments

@web-user
Copy link

I made the settings as it was written here https://ru.wordpress.org/plugins/fantastic-elasticsearch/#installation
I'm testing and I was shown an error

Fatal error: Uncaught Error: Call to undefined function Elastica\Transport\curl_init() in /home/user/projects/apache/wp-content/plugins/fantastic-elasticsearch/vendor/ruflin/elastica/lib/Elastica/Transport/Http.php:209 Stack trace: #0 /home/user/projects/apache/wp-content/plugins/fantastic-elasticsearch/vendor/ruflin/elastica/lib/Elastica/Transport/Http.php(51): Elastica\Transport\Http->_getConnection(true) #1 /home/user/projects/apache/wp-content/plugins/fantastic-elasticsearch/vendor/ruflin/elastica/lib/Elastica/Request.php(172): Elastica\Transport\Http->exec(Object(Elastica\Request), Array) #2 /home/user/projects/apache/wp-content/plugins/fantastic-elasticsearch/vendor/ruflin/elastica/lib/Elastica/Client.php(627): Elastica\Request->send() #3 /home/user/projects/apache/wp-content/plugins/fantastic-elasticsearch/vendor/ruflin/elastica/lib/Elastica/Search.php(462): Elastica\Client->request('/_search', 'GET', Array, Array) #4 home/user/projects/apache/wp-content/plugins/fantastic-elasticsearch/vendor/ruflin/elastica/lib/Elastica/Transport/Http.php on line 209

@web-user
Copy link
Author

I found a mistake, need install php curl

@web-user
Copy link
Author

sudo apt-get install php-curl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant