Forum Replies Created
-
wpsolrKeymaster5 years ago in reply to: integration issues – custom fields, speed, drop down list sort etc #27786
#1
What is your theme?
Can you try with another theme?wpsolrKeymaster5 years ago in reply to: integration issues – custom fields, speed, drop down list sort etc #27783#1
Now I wonder if your custom indexing code is not the culprit.Please remove your custom code, delete your index content, and reindex.
wpsolrKeymaster5 years ago in reply to: integration issues – custom fields, speed, drop down list sort etc #27780#1
Try also the 2 other get_option_plugin_woocommerce_is_replace_sort_items() in the same file if necessary.wpsolrKeymaster5 years ago in reply to: integration issues – custom fields, speed, drop down list sort etc #27779#1
PleasewpsolrKeymaster5 years ago in reply to: integration issues – custom fields, speed, drop down list sort etc #27777#1
Here is the code that could trigger the 502:function wc_get_template( $located, $template_name, $args, $template_path, $default_path ) { if ( WPSOLR_Service_Container::getOption()->get_option_plugin_woocommerce_is_replace_sort_items() ) { // Replace template to prevent insertion of default 'Relevance' switch ( $template_name ) { case 'loop/orderby.php': $located = sprintf( '%s%s%s', plugin_dir_path( __FILE__ ), 'templates/', $template_name ); break; } } return $located; }In /wpsolr/pro/extensions/woocommerce/class-wpsolr-plugin-woocommerce.php
wpsolrKeymaster5 years ago in reply to: integration issues – custom fields, speed, drop down list sort etc #27774#1
Is it a js console error?
Try to deactive the rangeslider layout from your WPSOLR facets.But I can’t see how a js error would trigger a 502 backend error.
- This reply was modified 5 years ago by wpsolr.
wpsolrKeymaster5 years ago in reply to: integration issues – custom fields, speed, drop down list sort etc #27771#1
Can you try to access a non-archive page, like a product detail page?wpsolrKeymaster5 years ago in reply to: integration issues – custom fields, speed, drop down list sort etc #27769#1
You must have some trace on the server, php or debug.log?wpsolrKeymaster5 years ago in reply to: integration issues – custom fields, speed, drop down list sort etc #27766#1
So, you save the option “Replace sort” in the backend, and then frontend pages are 502?All pages are 502, or just archives?
- This reply was modified 5 years ago by wpsolr.
wpsolrKeymaster5 years ago in reply to: integration issues – custom fields, speed, drop down list sort etc #27763#1
How can the 502 happen on frontend while saving the option on backend?wpsolrKeymaster5 years ago in reply to: integration issues – custom fields, speed, drop down list sort etc #27761#1
This is a first!
Other 502 errors?wpsolrKeymaster5 years ago in reply to: integration issues – custom fields, speed, drop down list sort etc #27759#1
You crash when:
a) You save the option “Replace sort” checked
b) You select any sort front-end side with “Replace sort” checked
c) You select any sort front-end side with “Replace sort” uncheckedwpsolrKeymaster5 years ago in reply to: integration issues – custom fields, speed, drop down list sort etc #27756#1
You need to check on the “Replace sort” option if you want to use Algolia for searching, filtering, and sorting.The option will replace the WooCommerce sort items with the custom fields you selected as sort in screen 2.4
wpsolrKeymaster5 years ago in reply to: integration issues – custom fields, speed, drop down list sort etc #27754#1
a) It crashes when you select the WooCommerce sort?
b) on which sort item?
c) Did you check the “Replace sort” option on the WPSOLR’s WooCommerce add-on screen?wpsolrKeymaster5 years ago in reply to: integration issues – custom fields, speed, drop down list sort etc #27752For #5, if you use boosts (screen 2.3), you do not need the option “Index custom fields and categories” of screen 2.2. This option creates the error I believe, for whatever reason.