Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter devwam

    (@devwam)

    Oh! My bad, I was looking at the wrong setting.

    Indeed, if I uncheck this parameter, the search works!

    Thanks a lot for your rapidity and your advices!

    Thread Starter devwam

    (@devwam)

    Here is:

    Pile d’appel :
    
        preg_replace()
        wp-includes/kses.php:1686
        wp_kses_no_null()
        wp-includes/kses.php:718
        wp_kses()
        wp-content/plugins/display-a-meta-field-as-block/meta-field-block.php:70
        meta_field_block_render_block()
        wp-includes/class-wp-block.php:256
        WP_Block::render()
        wp-includes/class-wp-block.php:242
        WP_Block::render()
        wp-includes/class-wp-block.php:242
        WP_Block::render()
        wp-includes/class-wp-block.php:242
        WP_Block::render()
        wp-includes/class-wp-block.php:242
        WP_Block::render()
        wp-includes/blocks/post-template.php:95
        render_block_core_post_template()
        wp-includes/class-wp-block.php:256
        WP_Block::render()
        wp-includes/class-wp-block.php:242
        WP_Block::render()
        wp-includes/blocks.php:1051
        render_block()
        wp-includes/blocks.php:1089
        do_blocks()
        wp-includes/class-wp-hook.php:308
        WP_Hook::apply_filters()
        wp-includes/plugin.php:205
        apply_filters()
        wp-content/plugins/relevanssi/lib/excerpts-highlights.php:138
        relevanssi_do_excerpt()
        wp-content/plugins/relevanssi/lib/excerpts-highlights.php:1548
        relevanssi_add_excerpt()
        wp-content/plugins/relevanssi/lib/search.php:694
        relevanssi_do_query()
        wp-content/plugins/relevanssi/lib/search.php:84
        relevanssi_query()
        wp-includes/class-wp-hook.php:308
        WP_Hook::apply_filters()
        wp-includes/plugin.php:256
        apply_filters_ref_array()
        wp-includes/class-wp-query.php:3097
        WP_Query::get_posts()
        wp-includes/class-wp-query.php:3749
        WP_Query::query()
        wp-includes/class-wp.php:663
        WP::query_posts()
        wp-includes/class-wp.php:783
        WP::main()
        wp-includes/functions.php:1332
        wp()
        wp-blog-header.php:16
        require()
        index.php:17

    I use the plugin “Meta Field Block” to display ACF’s field but I use this code to block his interpretation:

    add_filter( 'relevanssi_block_to_render', 'rlv_no_core_image_blocks' );
    function rlv_no_core_image_blocks( $block ) {
      if ( 'mfb/meta-field-block' === $block['blockName'] ) {
        return null;
      }
      return $block;
    }
    Thread Starter devwam

    (@devwam)

    I have an error 500 in the console log, and on the front I got this:

    Fatal error: Uncaught Error: Object of class WP_Post could not be converted to string
    in [...]/wp-includes/kses.php on line 1686

    Does it help if you disable custom excerpts in the Relevanssi settings?

    No, it doesn’t help

Viewing 3 replies - 1 through 3 (of 3 total)