cannot build index

  • ukatr
    Participant
    # 1 year, 10 months ago

    I cannot build index. When I click index selected post type, then

    An error or timeout occured.

    Error code: parsererror

    Error message: SyntaxError: Unexpected token { in JSON at position 329488

    {“models_nb_results”:{“product”:50,”product_cat”:50,”product_tag”:50,”pa_yayinevi”:50,”pa_yazar”:50},”nb_results”:250,”status”:true,”indexing_complete”:false,”debug_text”:”Posts excluded from the index:<br><b><\/b><br><br>******** DEBUG ACTIVATED – Beginning of new loop (batch size) *******<br><br>******** DEBUG ACTIVATED – Query documents from last post date *******<br><br>Query:<br><b>SELECT ID, post_modified, post_parent, post_type FROM wp_posts AS A WHERE ((post_modified = ‘1000-01-01 00:00:00’ AND ID > 0) OR (post_modified > ‘1000-01-01 00:00:00’)) AND ( post_status NOT IN (‘auto-draft’) AND ( post_type = ‘product’ ) ) ORDER BY post_modified ASC, ID ASC LIMIT 50<\/b><br><br>Last post date:<br><b>1000-01-01 00:00:00<\/b><br><br>Last post ID:<br><b>0<\/b><br><br>Post to be sent:<br><b>{\n \”id\”: 172924,\n \”PID\”: 172924,\n \”type\”: \”product\”,\n \”meta_type_s\”: \”post_type\”,\n \”displaymodified\”: \”2020-02-21T17:26:14Z\”,\n \”title\”: \”\\u00c7ap Yay\\u0131nlar\\u0131 TYT T\\u00fcm Dersler Tek Kitap \\u00c7\\u0131km\\u0131\\u015f S\\u0131nav Sorular\\u0131\”,\n \”title_s\”: \”\\u00c7ap Yay\\u0131nlar\\u0131 TYT T\\u00fcm Dersler Tek Kitap \\u00c7\\u0131km\\u0131\\u015f S\\u0131nav Sorular\\u0131\”,\n \”permalink\”: \”https:\\\/\\\/uygunkitapal.com\\\/kategorilenmemis\\\/cap-yayinlari-tyt-tum-dersler-tek-kitap-cikmis-sinav-sorulari\”,\n \”post_status_s\”: \”private\”,\n \”content\”: \”\\u00c7ap Yay\\u0131nlar\\u0131 TYT T\\u00fcm Dersler Tek Kitap \\u00c7\\u0131km\\u0131\\u015f S\\u0131nav Sorular\\u0131\\r\\n\\r\\n\\r\\nZorluk derecesine ve konular\\u0131na g\\u00f6re d\\u00fczenlenmi\\u015f\\r\\nTamam\\u0131 \\u00e7\\u00f6z\\u00fcml\\u00fc\\r\\n2010-2018 \\u00e7\\u0131km\\u0131\\u015f s\\u0131nav sorular\\u0131\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\”,\n \”post_author…”}{“nb_results”:0,”status”:8,”message”:”Error on line 384 of file \/home\/406080.cloudwaysapps.com\/fwrtjhdfet\/public_html\/wp-content\/plugins\/wpsolr-pro\/wpsolr\/core\/ajax_solr_services.php: Trying to access array offset on value of type null”,”indexing_complete”:false}

    wpsolr
    Keymaster
    # 1 year, 10 months ago

    What is your PHP version?

    ukatr
    Participant
    # 1 year, 10 months ago

    php 7.4

    wpsolr
    Keymaster
    # 1 year, 10 months ago

    Can you switch to an earlier version?

    ukatr
    Participant
    # 1 year, 10 months ago

    ok, It worked with php 7.3. But the options (product categories, authors, brands) I selected on the data page are not displayed in the Available items for filters.

    wpsolr
    Keymaster
    # 1 year, 10 months ago

    Nothing in debug.log?

    ukatr
    Participant
    # 1 year, 10 months ago

    my fault, I should have chosen them on data page.

    Now there is a different problem, when I click on the product categories, I get the warning “No products matching your selection found”.

    wpsolr
    Keymaster
    # 1 year, 10 months ago

    Fine.

    Please create another topic for the new issue.

    ukatr
    Participant
    # 1 year, 10 months ago

    why? anyway ok

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.