Forum Replies Created
- finalwebsitesParticipant4 years, 6 months ago in reply to: Filters are gone and the archive page has huge whitespace on top #14699
I’m using php 7.1 (btw it worked last week)
Here is this log:[21-Oct-2019 14:59:30 UTC] WPSOLR message: {“error”:{“root_cause”:[{“type”:”illegal_argument_exception”,”reason”:”Fielddata is disabled on text fields by default. Set fielddata=true on [pa_arrangeur_str] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.”}],”type”:”search_phase_execution_exception”,”reason”:”all shards failed”,”phase”:”query”,”grouped”:true,”failed_shards”:[{“shard”:0,”index”:”hafabra_index_new”,”node”:”64_mCJnUSO-tD72bkdrQlg”,”reason”:{“type”:”illegal_argument_exception”,”reason”:”Fielddata is disabled on text fields by default. Set fielddata=true on [pa_arrangeur_str] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.”}}],”caused_by”:{“type”:”illegal_argument_exception”,”reason”:”Fielddata is disabled on text fields by default. Set fielddata=true on [pa_arrangeur_str] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.”,”caused_by”:{“type”:”illegal_argument_exception”,”reason”:”Fielddata is disabled on text fields by default. Set fielddata=true on [pa_arrangeur_str] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.”}}},”status”:400}
[21-Oct-2019 14:59:30 UTC] WPSOLR trace: #0 /srv/users/hafabramuziekshop/apps/hafabramuziekshop/public/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php(310): Elasticsearch\Connections\Connection->process4xxError(Array, Array, Array)
#1 /srv/users/hafabramuziekshop/apps/hafabramuziekshop/public/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/react/promise/src/FulfilledPromise.php(25): Elasticsearch\Connections\Connection->Elasticsearch\Connections\{closure}(Array)
#2 /srv/users/hafabramuziekshop/apps/hafabramuziekshop/public/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php(55): React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL)
#3 /srv/users/hafabramuziekshop/apps/hafabramuziekshop/public/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/guzzlehttp/ringphp/src/Core.php(341): GuzzleHttp\Ring\Future\CompletedFutureValue->then(Object(Closure), NULL, NULL)
#4 /srv/users/hafabramuziekshop/apps/hafabramuziekshop/public/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php(322): GuzzleHttp\Ring\Core::proxy(Object(GuzzleHttp\Ring\Future\CompletedFutureArray), Object(Closure))
#5 /srv/users/hafabramuziekshop/apps/hafabramuziekshop/public/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php(220): Elasticsearch\Connections\Connection->Elasticsearch\Connections\{closure}(Array, Object(Elasticsearch\Connections\Connection), Object(Elasticsearch\Transport), Array)
#6 /srv/users/hafabramuziekshop/apps/hafabramuziekshop/public/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Transport.php(110): Elasticsearch\Connections\Connection->performRequest(‘POST’, ‘/hafabra_index_…’, Array, ‘{“from”:0,”size…’, Array, Object(Elasticsearch\Transport))
#7 /srv/users/hafabramuziekshop/apps/hafabramuziekshop/public/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php(1779): Elasticsearch\Transport->performRequest(‘POST’, ‘/hafabra_index_…’, Array, Array, Array)
#8 /srv/users/hafabramuziekshop/apps/hafabramuziekshop/public/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php(1127): Elasticsearch\Client->performRequest(Object(Elasticsearch\Endpoints\Search))
#9 /srv/users/hafabramuziekshop/apps/hafabramuziekshop/public/wp-content/plugins/wpsolr-pro/wpsolr/core/classes/engines/elasticsearch_php/class-wpsolr-searchelasticsearchclient.php(92): Elasticsearch\Client->search(Array)
#10 /srv/users/hafabramuziekshop/apps/hafabramuziekshop/public/wp-content/plugins/wpsolr-pro/wpsolr/core/classes/engines/class-wpsolr-abstractsearchclient.php(905): wpsolr\core\classes\engines\elasticsearch_php\WPSOLR_SearchElasticsearchClient->search_engine_client_execute(Object(Elasticsearch\Client), Array)
#11 /srv/users/hafabramuziekshop/apps/hafabramuziekshop/public/wp-content/plugins/wpsolr-pro/wpsolr/core/classes/engines/class-wpsolr-abstractsearchclient.php(878): wpsolr\core\classes\engines\WPSOLR_AbstractSearchClient->execute_query()
#12 /srv/users/hafabramuziekshop/apps/hafabramuziekshop/public/wp-content/plugins/wpsolr-pro/wpsolr/core/classes/ui/class-wpsolr-query.php(352): wpsolr\core\classes\engines\WPSOLR_AbstractSearchClient->execute_wpsolr_query(Object(wpsolr\core\classes\ui\WPSOLR_Query), false)
#13 /srv/users/hafabramuziekshop/apps/hafabramuziekshop/public/wp-includes/class-wp-query.php(3403): wpsolr\core\classes\ui\WPSOLR_Query->get_posts()
#14 /srv/users/hafabramuziekshop/apps/hafabramuziekshop/public/wp-includes/class-wp.php(622): WP_Query->query(Array)
#15 /srv/users/hafabramuziekshop/apps/hafabramuziekshop/public/wp-includes/class-wp.php(739): WP->query_posts()
#16 /srv/users/hafabramuziekshop/apps/hafabramuziekshop/public/wp-includes/functions.php(1105): WP->main(”)
#17 /srv/users/hafabramuziekshop/apps/hafabramuziekshop/public/wp-blog-header.php(16): wp()
#18 /srv/users/hafabramuziekshop/apps/hafabramuziekshop/public/index.php(17): require(‘/srv/users/hafa…’)
#19 {main}finalwebsitesParticipant4 years, 6 months ago in reply to: Filters are gone and the archive page has huge whitespace on top #14694Still the same problem, it was just one that I looked at the wrong site. I did anything you have suggested, nothing helps.
finalwebsitesParticipant4 years, 6 months ago in reply to: Filters are gone and the archive page has huge whitespace on top #14691Hi,
is there something else I can try?
finalwebsitesParticipant4 years, 6 months ago in reply to: Filters are gone and the archive page has huge whitespace on top #14684Just check the database and term record with id 31988 looks fine.
What I see is that there are multiple terms having the same slug (this is some mess from the site owner)finalwebsitesParticipant4 years, 6 months ago in reply to: Filters are gone and the archive page has huge whitespace on top #14683The error in the cron log is gone, but now I see this error if I click index button:
failed to parse field [id] of type [long] in document with id ‘pa_instrument_31988’
finalwebsitesParticipant4 years, 6 months ago in reply to: Filters are gone and the archive page has huge whitespace on top #14681Saving works after I entered some values to the required fields.
Now all boost fields are disabled, the activate boots is unchecked.
The problem still exists.finalwebsitesParticipant4 years, 6 months ago in reply to: Filters are gone and the archive page has huge whitespace on top #14679saving doesn’t work, it says “saving” for several minutes now.
finalwebsitesParticipant4 years, 6 months ago in reply to: Filters are gone and the archive page has huge whitespace on top #14677Sorry I was in the wrong site, same settings but the problem still exists
(boosts are disabled)finalwebsitesParticipant4 years, 6 months ago in reply to: Filters are gone and the archive page has huge whitespace on top #14676it’s working now, maybe I need to save some option after I did the settings import from the other website.
ThanksfinalwebsitesParticipant4 years, 6 months ago in reply to: Filters are gone and the archive page has huge whitespace on top #14675I don’t use boosts, the check box is not activated
finalwebsitesParticipant4 years, 6 months ago in reply to: Filters are gone and the archive page has huge whitespace on top #14673Hi,
This is not a field, pa_series is a product attribute (woocommerce taxonomy)
And for the taxonomies is not such a string typefinalwebsitesParticipant4 years, 6 months ago in reply to: Facets are not visible on product attribute archive pages #14462with the new version it’s working, thanks
finalwebsitesParticipant4 years, 6 months ago in reply to: Facets are not visible on product attribute archive pages #14461Hi,
thanks for the fast update 🙂
The product attributes archive is not a new feature, it exists since WooCommerce version 2.x or before
finalwebsitesParticipant4 years, 6 months ago in reply to: Facets are not visible on product attribute archive pages #14457Hi,
I double checked both settings and the facets are visible on this product category:
https://hafabramuziekshop.nl/categorie/harmonie/
and also in the search result page:
https://hafabramuziekshop.nl/?s=mozart&post_type=productThe problem exists only on the attribute archive pages (which is an old feature from ver. 2.xx)
finalwebsitesParticipant4 years, 6 months ago in reply to: Facets are not visible on product attribute archive pages #14446Hi,
For set the option “Activate archives” for each attribute you create.
This way you get archives like these: https://hafabramuziekshop.nl/uitgever/acanthus-music/