Forum Replies Created
-
wpsolrKeymaster7 years, 5 months ago in reply to: WPSOLR: error on term #11962
A small workaround to detect the problem origin:
Line 313 of /public_html/wp-content/plugins/wpsolr-pro/wpsolr/core/classes/models/post/class-wpsolr-model-post.php
Replace
array_push( $term_parents_names, $term_parent->name ); // Add the term to the non-flat hierarchy (for filter queries on all the hierarchy levels) array_push( $taxonomy_non_flat_hierarchies, $term_parent->name );with
if ( method_exists( $term_parent, 'name' ) ) { array_push( $term_parents_names, $term_parent->name ); // Add the term to the non-flat hierarchy (for filter queries on all the hierarchy levels) array_push( $taxonomy_non_flat_hierarchies, $term_parent->name ); } else { throw new \Exception( sprintf( "WPSOLR: term %s for taxonomy %s has no name", $term_parent_id, $parent ) ); }wpsolrKeymaster7 years, 5 months ago in reply to: WPSOLR: error on term #11960I suspect your cleaning of taxonomies has yet to be continued.
wpsolrKeymaster7 years, 5 months ago in reply to: WPSOLR: error on term #11957Restart indexing with debug mode “on” and batch size “1”, until it stops in error. Then restart it once more. Check the product id in the debug trace and exclude the product with its WPSOLR metabox.
wpsolrKeymaster7 years, 5 months ago in reply to: WPSOLR: error on term #11954Can you repost the error here?
(we do not access clients environment during support)
wpsolrKeymaster7 years, 5 months ago in reply to: WPSOLR: error on term #11952Same issue on another product.
wpsolrKeymaster7 years, 5 months ago in reply to: WPSOLR: error on term #11950Then, it’s not that product that causes the problem.
Edit the product, save it. What message appears in the notice header?
wpsolrKeymaster7 years, 5 months ago in reply to: WPSOLR: error on term #11948You can prevent indexing it with the product metabox “Do not search” checkbox.
wpsolrKeymaster7 years, 5 months ago in reply to: Unable to replace the default WordPress search with WPSOLR search #11946I don’t think so. Why?
wpsolrKeymaster7 years, 5 months ago in reply to: Need help to creating AMP compatible Search on our website. #11928It’s too big and probably impossible. The WPSOLR facets use several hundred lines of javascript, and several major javascript libraries (slider2, ionRange, ….). None will work with AMP.
wpsolrKeymaster7 years, 5 months ago in reply to: Need help to creating AMP compatible Search on our website. #11926There are no plans at the moment for an AMP version.
wpsolrKeymaster7 years, 5 months ago in reply to: Need help to creating AMP compatible Search on our website. #11924Hi,
Thanks for the request.
I wonder why you would need WPSOLR for you current search. You already have one installed with filters, and not enough products to be in trouble.
wpsolrKeymaster7 years, 5 months ago in reply to: Unable to replace the default WordPress search with WPSOLR search #11921Thanks.
Which PHP version do you have?
Is your php curl installed? https://php.net/manual/en/book.curl.php
wpsolrKeymaster7 years, 5 months ago in reply to: Multiple sliders override each other #11918Yes.
wpsolrKeymaster7 years, 5 months ago in reply to: Multiple sliders override each other #11916The slider selection always show the min-max values for the current selection.
If you select a kilometerstand with results containing the current bouwjaar min-max values, nothing changes in bouwjaar. Else, bouwjaar is updated with min-max of results.
wpsolrKeymaster7 years, 5 months ago in reply to: Unable to replace the default WordPress search with WPSOLR search #11914What I said earlier:
– Trace all queries in Elasticsearch logs
– Ask your hosting provider