Felipe Elia
Forum Replies Created
-
Forum: Plugins
In reply to: [ElasticPress] Can you get search statistics?For tracking search terms, we recommend using a tool like Google Analytics. Articles covering that setup can be found here and here.
Also, please note that we don’t provide support here. If you have any follow-up questions, please open an issue in our GitHub repository.
Forum: Plugins
In reply to: [ElasticPress] css stylesheet in frontThis specific question was answered in https://github.com/10up/ElasticPress/issues/4298.
For future readers, it is always worth noting that we don’t provide support here. If you have any problems, open a GitHub issue at our repository.
Forum: Plugins
In reply to: [ElasticPress] ElasticPress: PHP Parse error: syntax error, unexpectedHey there! Unfortunately, that is an error related to the PHP version in use. That happens on PHP 7.4, but does not happen on PHP 8 and later.
A new ElasticPress 5.3.1 will be released addressing this problem, but in the meantime, I recommend that you upgrade your PHP version, as PHP 7.4 hit its end of life back in November 2022 (see here).
Also worth mentioning is that we don’t provide support here. For this specific error, we already have a GitHub issue, but if you see anything else, please open a GitHub issue instead. Thanks!
As explained in our fixed topic, we don’t provide support here.
For your specific use case, you can try using something like the snippet shared in this GitHub issue. If, after that, you still need any support, please create a new issue in our GitHub repository. Thanks
Forum: Plugins
In reply to: [ElasticPress] Latest posts were not appearingAs explained in our fixed topic, we don’t provide support here.
For your specific error, try using our debugging add-on. If, after that, you still need any support, please create an issue in our GitHub repository. Thanks
Forum: Plugins
In reply to: [ElasticPress] With ACF fields its not workingAs I said in my previous mesage, we don’t provide support here. If you want any support, please create an issue in our GitHub repository.
Forum: Plugins
In reply to: [ElasticPress] With ACF fields its not workingHi,
I recommend you start disabling fuziness (we have docs about it here). If that doesn’t work you’ll have to tweak the way ElasticPress uses Elasticsearch to tokenize your content (more about it here).
To check how your ACF fields are indexed in Elasticsearch, you can use our debug addon. That will give you a quick way to check how that content is indexed in a given post, so you can check if the content you want searched is really there or not. (For ACF repeater fields, please check this article)
As we don’t provide support here, if you have any follow-up questions, please create separate issues in our GitHub repository.
Forum: Plugins
In reply to: [ElasticPress] Search in ACF Relationship field typeAs the meta field only contains the ID(s), it won’t find anything when searching by text. The easiest way to achieve that is to create a custom meta field in the courses (to be indexed only in Elasticsearch) with all the content of the lectures. A simple field with all the text should do it.
You can use the ep_prepare_meta_data filter to add that field to your courses. Then, make it searchable (in the Fields and Weighting Dashboard) and run a full sync.
As we don’t provide support here, if you have any follow-up questions, please create separate issues in our GitHub repository.
Forum: Plugins
In reply to: [ElasticPress] There is no index configured for searchingThe question was answered in this GitHub issue: https://github.com/10up/ElasticPress/issues/4145.
As we don’t provide support here, if you have any follow-up questions, please send them in the GH issue linked above.
As ElasticPress need your data indexed into Elasticsearch, unless you install the plugin on your live site and sync your content, it won’t be possible to query your live site data from your local.
If you install EP on your live site and sync your content, you can then use the ep_index_name filter to make your local point to the index used by the live site.
As we don’t provide support here, if you have any follow-up questions, please create separate issues in our GitHub repository.
Forum: Plugins
In reply to: [ElasticPress] Auto index sync not workingThe index should NEVER delete itself, so it is probably something wrong with your environment. Content is constantly updated when you create, edit, or delete any post, page, or CPT.
For the memory part, it just indicates no memory is being used right now, so you should be good.
For the others, as we don’t provide support here, please create separate issues in our GitHub repository.
Forum: Plugins
In reply to: [ElasticPress] Function _load_textdomain_just_in_time was called incorrectly.This is already being tracked in https://github.com/10up/ElasticPress/issues/4049. Also, please note we don’t provide support here, so if you have any follow-up questions or comments make sure to do so in that GitHub issue.
For anyone wanting a way to pause those notices, Andy Fragen put together a plugin for that here.
Forum: Plugins
In reply to: [Debug Bar] WP 6.7 Translation loading issueI’m having a hard time to debug it myself too for a different plugin, @psykro, but it seems it is possible to see the error once if you call
wp transient delete --all. Then it will go away and you have to delete all transients again to see it once more.Forum: Plugins
In reply to: [ElasticPress] Exclude custom post types is not working correctlyHi! That code should work, but it should be added to a plugin, not to your theme’s functions.php file, for example.
As we don’t provide support here, if you have any follow-up question, please open an issue in our GitHub repository. Thanks!
Forum: Plugins
In reply to: [ElasticPress] ep_format_args issueHi! Version 2.6.2 was released back in 2018 and the plugin changed a lot during these 6 years (especially from v2 to v3.) What was done by the
ep_format_args( $query_args )method is now majorly handled by theIndexables::factory()->get( 'post' )->format_args( $query_args, $query)method.As we don’t provide support here, if you have any follow-up questions please open an issue in our GitHub repository.