• When trying to build the index for first time on my site, I got this error:

    Warning : Undefined array key 1 in /home/mydomaintest/public_html/wp-content/plugins/redisearch/vendor/front/redisearch/src/Index.php on line 769 
    
    Warning : Undefined array key 1 in /home/mydomaintest/public_html/wp-content/plugins/redisearch/vendor/front/redisearch/src/Index.php on line 770 
    
    Warning : Undefined array key 1 in /home/mydomaintest/public_html/wp-content/plugins/redisearch/vendor/front/redisearch/src/Index.php on line 774 
    
    Fatal error : Uncaught TypeError: Illegal offset type in /home/mydomaintest/public_html/wp-content/plugins/redisearch/vendor/front/redisearch/src/Index.php:775 
    
    Stack trace: 
    #0 /home/mydomaintest/public_html/wp-content/plugins/redisearch/vendor/front/redisearch/src/Index.php(775): FKRediSearch\Index->normalizeInfoArray() 
    #1 /home/mydomaintest/public_html/wp-content/plugins/redisearch/vendor/front/redisearch/src/Index.php(746): FKRediSearch\Index->normalizeInfoArray() 
    #2 /home/mydomaintest/public_html/wp-content/plugins/redisearch/vendor/front/redisearch/src/Index.php(572): FKRediSearch\Index->getInfo() 
    #3 /home/mydomaintest/public_html/wp-content/plugins/redisearch/vendor/front/redisearch/src/Index.php(634): FKRediSearch\Index->getFieldFromInfo() 
    #4 /home/mydomaintest/public_html/wp-content/plugins/redisearch/src/RediSearch/Index.php(444): FKRediSearch\Index->add() 
    #5 /home/mydomaintest/public_html/wp-content/plugins/redisearch/src/RediSearch/Index.php(273): WpRediSearch\RediSearch\Index->addPosts() 
    #6 /home/mydomaintest/public_html/wp-content/plugins/redisearch/src/Admin/Admin.php(261): WpRediSearch\RediSearch\Index->add() 
    #7 /home/mydomaintest/public_html/wp-includes/class-wp-hook.php(303): WpRediSearch\Admin::wp_redisearch_add_to_index() 
    #8 /home/mydomaintest/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() 
    #9 /home/mydomaintest/public_html/wp-includes/plugin.php(470): WP_Hook->do_action() 
    #10 /home/mydomaintest/public_html/wp-admin/admin-ajax.php(187): do_action() 
    #11 {main} thrown in /home/mydomaintest/public_html/wp-content/plugins/redisearch/vendor/front/redisearch/src/Index.php on line 775
    • This topic was modified 3 years, 6 months ago by fidoboy.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter fidoboy

    (@fidoboy)

    PHP version is 8

    Thread Starter fidoboy

    (@fidoboy)

    I believe it was because there is a bug with latest version of this plugin that it’s not retrieving the post author name and it’s missing when creating the index. Solution is to change code where the plugin gets the author display_name meta from users table.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Indexing process crashes with critical error’ is closed to new replies.