Hi, PHP 8.2 I am trying to update Synonyms on “Manage Synonyms” Page ( wp-admin/admin.php?page=elasticpress-synonyms ) when I try to submit the form without entering Comma separated list of terms for both Sets and Alternatives on click of “update Synonyms” it display fatal error. when I cross check on my logs there is a error on \includes\classes\Feature\Search\Synonyms.php line no 481
so I have modified this line
if($this->get_synonym_filter_name()!=” && !empty($filters)){ $setting[‘index’][‘analysis’][‘analyzer’][‘default_search’][‘filter’] = array_values( array_unique( array_merge( [ $this->get_synonym_filter_name() ], $filters ) ) );
}else{
$setting[‘index’][‘analysis’][‘analyzer’][‘default_search’][‘filter’] =array();
}
can you please look into this issue on next release.
thanks
