Search keyword not working properly
- wpsolrKeymaster1 year, 11 months ago #29883
Try without https, or without port 80.
We also have a full tutorial for OpenSolr.wpsolrKeymaster1 year, 11 months ago #29980This is supposed to work.
The WP cron ‘publish_future_post’ calls WP check_and_publish_future_post(), which calls WP wp_publish_post(), which finally calls WP action ‘save_post’, which is then used by WPSOLR to add/update/remove the post from the index.
I made a full test, by calling the cron on a post. The post was added to the index as expected.hsurekarParticipant1 year, 11 months ago #30097I have checked in wordpress database but didn’t found any terms name or slug is blank.
so how can i skip this error?An error occured:
Error on line 149 of file /nas/content/live/cpbjprod/wp-content/plugins/wpsolr-pro/wpsolr/core/classes/models/post/class-wpsolr-model-post.php: Trying to get property ‘name’ of non-object
wpsolrKeymaster1 year, 11 months ago #30098You can try to skip the problem:
Replace line 145:
$term_parent = get_term( $term_parent_id, ‘category’ );With:
$term_parent = get_term( $term_parent_id, ‘category’ );
if ( ! $term_parent || is_wp_error( $term_parent ) ) {
// Skip and continue on next loop iteration
continue;
}hsurekarParticipant1 year, 11 months ago #30116ok now i am getting below error as i am sending 5 articles in queue.
An error occured:
Solr HTTP error: Bad Request (400) { “responseHeader”:{ “status”:400, “QTime”:0}, “error”:{ “metadata”:[ “error-class”,”org.apache.solr.common.SolrException”, “root-error-class”,”java.io.CharConversionException”], “msg”:”Invalid UTF-8 middle byte 0x3c (at char #10008, byte #7621)”, “code”:400}}
You must be logged in to reply to this topic.