Issue with custom profile element search
-
hi
the custom search for profile elements, the ones added rencontre > custom > search > “Add a profile element into search”, isn’t working. It doesn’t get any results when there are profiles that should be a match.
Tried a clean installation too, same issue. Sometimes I get no error, sometimes I get this:
[15-Aug-2024 23:09:29 UTC] WordPress database error Syntax error in regular expression on line 1, character 2. for query SELECT
U.user_login,
U.display_name,
R.user_id,
R.i_zsex,
R.c_zsex,
R.i_zage_min,
R.i_zage_max,
R.i_zrelation,
R.c_zrelation,
R.c_pays,
R.c_ville,
R.i_sex,
R.d_naissance,
R.i_photo,
R.e_lat,
R.e_lon,
R.d_session,
P.t_annonce,
P.t_titre,
P.t_action
FROM w2_users U
INNER JOIN w2_rencontre_users R
ON R.user_id=U.ID
INNER JOIN w2_rencontre_users_profil P
ON P.user_id=U.ID
WHERE
R.i_status IN (0,2,8,10)
and (P.t_action NOT REGEXP ‘,pause1,|,pause2,’ or P.t_action IS NULL)
and U.ID!=2 and R.i_sex=0 and (R.c_zsex LIKE ‘%,0,%’ or R.i_zsex=0) and R.i_taille<=’200′ and R.i_poids<=’120′ and P.t_profil REGEXP ‘({“i”:24,)[^{]+[[,:]0[],}]’ ORDER BY R.d_session DESC, P.d_modif DESC LIMIT 0, 7 made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/neve/page-templates/template-pagebuilder-full-width.php’), get_template_part, locate_template, load_template, require(‘/themes/neve/template-parts/content-pagebuilder.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, f_shortcode_rencontre, RencontreWidget->widget, RencontreWidget::f_cherchePlus, RencontreWidget::f_trouver
- You must be logged in to reply to this topic.