Search keyword not working properly

Tagged:
  • wpsolr
    Keymaster
    1 year, 11 months ago #29880

    You should copy the url mentioned in a browser: looks like the https is not compatible with the port 80

    hsurekar
    Participant
    1 year, 11 months ago #29882

    so what is solution for this error?

    wpsolr
    Keymaster
    1 year, 11 months ago #29883

    Try without https, or without port 80.
    We also have a full tutorial for OpenSolr.

    hsurekar
    Participant
    1 year, 11 months ago #29971

    I have also another issue with schedule posts which are not indexing. Could you please let me know how to fix that issue on scheduled post?

    wpsolr
    Keymaster
    1 year, 11 months ago #29980

    This 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.

    hsurekar
    Participant
    1 year, 11 months ago #30081

    Hi,

    I am getting below error how can i fix it?

    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

    hsurekar
    Participant
    1 year, 11 months ago #30082

    An error occured:

    Error on line 4572 of file /nas/content/live/prodlvb/wp-includes/taxonomy.php: Trying to get property ‘slug’ of non-object

    wpsolr
    Keymaster
    1 year, 11 months ago #30083

    It looks like some categories do not have names. Do you import them?

    hsurekar
    Participant
    1 year, 11 months ago #30095

    there are 2 errors both are different.
    We didn’t import any category.

    wpsolr
    Keymaster
    1 year, 11 months ago #30096

    Both error are similar: an ancestor of a term has not slug or no name.
    You can try to output the term’s content in your logs to try to find the problem.

    hsurekar
    Participant
    1 year, 11 months ago #30097

    I 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

    wpsolr
    Keymaster
    1 year, 11 months ago #30098

    You 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;
    }

    hsurekar
    Participant
    1 year, 11 months ago #30114

    in this file /nas/content/live/cpbjprod/wp-content/plugins/wpsolr-pro/wpsolr/core/classes/models/post/class-wpsolr-model-post.php
    right?

    wpsolr
    Keymaster
    1 year, 11 months ago #30115

    Correct.

    hsurekar
    Participant
    1 year, 11 months ago #30116

    ok 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}}

Viewing 15 posts - 46 through 60 (of 114 total)

You must be logged in to reply to this topic.