Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WPSolr free

    (@wpsolr)

    Can you change the 2 lines in class-wp-solr.php:

    'timeout' => DEFAULT_SOLR_TIMEOUT_IN_SECOND,

    by

    'timeout' => wp_Solr::DEFAULT_SOLR_TIMEOUT_IN_SECOND,

    Plugin Author WPSolr free

    (@wpsolr)

    Solved in WPSOLR 4.0

    Thread Starter ricricucit

    (@ricricucit)

    I still see the error:

    {"nb_results":0,"status":400,"message":"Solr HTTP error: OK (400)\n{"responseHeader":{"status":400,"QTime":114},"error":{"msg":"ERROR: [doc=1] unknown field 'PID'","code":400}}\n","indexing_complete":false}
    Notice: ob_flush(): failed to flush buffer. No buffer to flush in /Applications/MAMP/htdocs/bedrock/web/app/plugins/wpsolr-search-engine/ajax_solr_services.php on line 393

    ..when clicking on “Synchronize WordPress with my Solr index
    I still can’t use the plugin…any idea why this happens?

    Plugin Author WPSolr free

    (@wpsolr)

    unknown field ‘PID’

    It means your Solr schema.xml file is not properly installed.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Use of undefined constant DEFAULT_SOLR_TIMEOUT_IN_SECOND blocking indexing’ is closed to new replies.