Error on upgrade to 2.5.0 from 2.3.1
-
Hello, I recently updated WP Search With Algolia from 2.3.1 to 2.5.0 using composer as I’ve always done. Testing it on my staging server however caused a critical error related to Class ‘Algolia\AlgoliaSearch\SearchClient’ not being found. The code that threw the error in my template search file is as such:
$client = Algolia\AlgoliaSearch\SearchClient::create(
$this->application_id,
$this->api_key
);This was the error. Any ideas? Downgrading back to 2.3.1 causes the problem to go away.
Fatal error: Uncaught Error: Class ‘Algolia\AlgoliaSearch\SearchClient’ not found in /var/app/httpdocs/bedrock/web/app/themes/toolfarm/template-search.php:103
An interesting tidbit is that I did also see a warning at the top of the WordPress plugins page that stated “Custom WP Search With Algolia template files autocomplete and instantsearch.php are out of date at 2.0” after updating to 2.5.0. I don’t believe we directly edit those files so not sure how they are get updated.
Thank you in advance.
Micah
- The topic ‘Error on upgrade to 2.5.0 from 2.3.1’ is closed to new replies.