Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Check the PHP error log. Is there an error there?

    Thread Starter shuangmiles

    (@shuangmiles)

    I only see these in the log

    #10 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/relevanssi/lib/compatibility/gutenberg.php(113): render_block(Array)
    #11 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/class-wp-hook.php(308): relevanssi_gutenberg_block_rendering('<!-- wp:acf/her...', Object(WP_Post))
    #12 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/plugin.php(205): WP_Hook->apply_filters('<!-- wp:acf/her...', Array)
    #13 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/relevanssi/lib/indexing.php(1485): apply_filters('relevanssi_post...', '<!-- wp:acf/her...', Object(WP_Post))
    #14 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/relevanssi/lib/indexing.php(592): relevanssi_index_content(Array, Object(WP_Post), '3', false)
    #15 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/relevanssi/lib/indexing.php(359): relevanssi_index_doc('47433', false, 'visible', true)
    #16 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/relevanssi/lib/admin-ajax.php(86): relevanssi_build_index(true, false, 10, true)
    #17 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/class-wp-hook.php(308): relevanssi_index_posts_ajax_wrapper('')
    #18 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #19 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #20 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-admin/admin-ajax.php(188): do_action('wp_ajax_relevan...')
    
    Plugin Author Mikko Saari

    (@msaari)

    Ok, that looks like a problem with a Gutenberg block. That’s only part of the stack trace; do you have the full trace? This has steps 10-20, are the steps 1-9 in the log, too?

    Thread Starter shuangmiles

    (@shuangmiles)

    I just see php errors like this, would it stop the index from happening?

    #0 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/themes/Striven 2020/acf-blocks/single-page-navigation/single-page-navigation.php(12): include()
    #1 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php(676): include('/chroot/home/ac...')
    #2 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/class-wp-hook.php(308): acf_block_render_template(Array, '', false, 47433, Object(WP_Block), Array)
    #3 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #4 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #5 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php(650): do_action('acf_block_rende...', Array, '', false, 47433, Object(WP_Block), Array)
    #6 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php(569): acf_render_block(Array, '', false, 47433, Object(WP_Block), Array)
    #7 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php(502): acf_rendered_block(Array, '', false, 47433, Object(WP_Block))
    #8 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/class-wp-block.php(256): acf_render_block_callback(Array, '', Object(WP_Block))
    #9 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/blocks.php(1051): WP_Block->render()
    #10 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/relevanssi/lib/compatibility/gutenberg.php(113): render_block(Array)
    #11 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/class-wp-hook.php(308): relevanssi_gutenberg_block_rendering('<!-- wp:acf/her...', Object(WP_Post))
    #12 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/plugin.php(205): WP_Hook->apply_filters('<!-- wp:acf/her...', Array)
    #13 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/relevanssi/lib/indexing.php(1485): apply_filters('relevanssi_post...', '<!-- wp:acf/her...', Object(WP_Post))
    #14 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/relevanssi/lib/indexing.php(592): relevanssi_index_content(Array, Object(WP_Post), '3', false)
    #15 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/relevanssi/lib/indexing.php(359): relevanssi_index_doc('47433', false, 'visible', true)
    #16 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/relevanssi/lib/admin-ajax.php(86): relevanssi_build_index(true, false, 10, true)
    #17 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/class-wp-hook.php(308): relevanssi_index_posts_ajax_wrapper('')
    #18 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #19 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #20 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-admin/admin-ajax.php(188): do_action('wp_ajax_relevan...')
    #21 {main}
      thrown in /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/themes/Striven 2020/components/single-page-navigation/navigation-dropdown.php on line 16
    [22-May-2023 12:12:32 UTC] PHP Warning:  Trying to access array offset on value of type null in /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/themes/Striven 2020/acf-blocks/hero-image/hero-image.php on line 30
    [22-May-2023 12:12:32 UTC] PHP Warning:  Undefined array key "className" in /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/themes/Striven 2020/acf-blocks/hero-image/hero-image.php on line 33
    [22-May-2023 12:12:32 UTC] PHP Warning:  Undefined variable $gradient_overlay_string in /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/themes/Striven 2020/components/background-overlay/background-overlay.php on line 1
    [22-May-2023 12:12:32 UTC] PHP Warning:  Undefined array key "className" in /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/themes/Striven 2020/acf-blocks/flexible-hero/flexible-hero.php on line 35
    [22-May-2023 12:12:32 UTC] PHP Warning:  Undefined variable $gradient_overlay_string in /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/themes/Striven 2020/acf-blocks/flexible-hero/flexible-hero.php on line 395
    [22-May-2023 12:12:34 UTC] PHP Warning:  Trying to access array offset on value of type bool in /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/themes/Striven 2020/components/hero/hero-subpage.php on line 3
    [22-May-2023 12:12:34 UTC] PHP Warning:  Trying to access array offset on value of type bool in /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/themes/Striven 2020/acf-blocks/section/section-styles.php on line 3
    [22-May-2023 12:12:34 UTC] PHP Warning:  Trying to access array offset on value of type null in /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/themes/Striven 2020/acf-blocks/section/section-styles.php on line 3
    [22-May-2023 12:12:34 UTC] PHP Warning:  Undefined array key "className" in /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/themes/Striven 2020/acf-blocks/single-page-navigation/single-page-navigation.php on line 5
    [22-May-2023 12:12:34 UTC] PHP Warning:  Undefined variable $gradient_overlay_string in /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/themes/Striven 2020/components/background-overlay/background-overlay.php on line 1
    [22-May-2023 12:12:34 UTC] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/themes/Striven 2020/components/single-page-navigation/navigation-dropdown.php:16
    Stack trace:
    #0 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/themes/Striven 2020/acf-blocks/single-page-navigation/single-page-navigation.php(12): include()
    #1 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php(676): include('/chroot/home/ac...')
    #2 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/class-wp-hook.php(308): acf_block_render_template(Array, '', false, 47433, Object(WP_Block), Array)
    #3 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #4 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #5 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php(650): do_action('acf_block_rende...', Array, '', false, 47433, Object(WP_Block), Array)
    #6 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php(569): acf_render_block(Array, '', false, 47433, Object(WP_Block), Array)
    #7 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php(502): acf_rendered_block(Array, '', false, 47433, Object(WP_Block))
    #8 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/class-wp-block.php(256): acf_render_block_callback(Array, '', Object(WP_Block))
    #9 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/blocks.php(1051): WP_Block->render()
    #10 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/relevanssi/lib/compatibility/gutenberg.php(113): render_block(Array)
    #11 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/class-wp-hook.php(308): relevanssi_gutenberg_block_rendering('<!-- wp:acf/her...', Object(WP_Post))
    #12 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/plugin.php(205): WP_Hook->apply_filters('<!-- wp:acf/her...', Array)
    #13 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/relevanssi/lib/indexing.php(1485): apply_filters('relevanssi_post...', '<!-- wp:acf/her...', Object(WP_Post))
    #14 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/relevanssi/lib/indexing.php(592): relevanssi_index_content(Array, Object(WP_Post), '3', false)
    #15 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/relevanssi/lib/indexing.php(359): relevanssi_index_doc('47433', false, 'visible', true)
    #16 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/plugins/relevanssi/lib/admin-ajax.php(86): relevanssi_build_index(true, false, 10, true)
    #17 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/class-wp-hook.php(308): relevanssi_index_posts_ajax_wrapper('')
    #18 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #19 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #20 /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-admin/admin-ajax.php(188): do_action('wp_ajax_relevan...')
    #21 {main}
      thrown in /chroot/home/acf6666e/6715dacc03.nxcli.io/html/wp-content/themes/Striven 2020/components/single-page-navigation/navigation-dropdown.php on line 16
    
    Plugin Author Mikko Saari

    (@msaari)

    Yes, the fatal errors are indeed fatal. It’s coming from your single-page-navigation ACF block. Try excluding that block from the index with the relevanssi_block_to_render filter hook.

    Thread Starter shuangmiles

    (@shuangmiles)

    That worked! Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Issue Indexing’ is closed to new replies.