integration issues – custom fields, speed, drop down list sort etc
- JmaskedParticipant2 years, 11 months ago #27776
yes, that’s a console error. I noticed it doesn’t always display, depends on how you generated the results.
deactivated rangeslider, console error is gone.
Checked off and saved option for “Replace WooCommerce drop-down list sort content with WPSOLR’s.”
Still getting 502wpsolrKeymaster2 years, 11 months ago #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
JmaskedParticipant2 years, 11 months ago #27781[17-Sep-2021 18:53:45 UTC] PHP Notice: Trying to get property ‘ID’ of non-object in /wp-includes/class-wp-query.php on line 4044
[17-Sep-2021 18:53:45 UTC] PHP Notice: Trying to get property ‘post_title’ of non-object in /wp-includes/class-wp-query.php on line 4046
[17-Sep-2021 18:53:45 UTC] PHP Notice: Trying to get property ‘post_name’ of non-object in /wp-includes/class-wp-query.php on line 4048
[17-Sep-2021 18:53:45 UTC] PHP Notice: Trying to get property ‘post_type’ of non-object in /wp-includes/class-wp-query.php on line 4196they are all commented out, saw this in debug
You must be logged in to reply to this topic.