SQL syntax error with W3all
Posted: Fri Sep 23, 2016 6:02 am
Hi each time i go to my admin page on WP i get this error on apache logs :
Sorry for the message size! (A spoil bbcode could be useful here)
this message seems to be related to a user that has an ' on his name.
AH01071: Got error 'PHP message: Erreur de la base de donn\xc3\xa9es WordPress You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Air','eutoposWildcat','JulietBravo','Bourrinopathe') ORDER BY user_id DESC' at line 1 pour la requ\xc3\xaate SELECT username, user_avatar, user_avatar_type ........... ........... FROM phpbb_users WHERE username IN('IceMaKeR','Ghostrider','Pollux','Jaj'Air','eutoposWildcat','JulietBravo','Bourrinopathe') ORDER BY user_id DESC faite par require_once('wp-admin/admin.php'), require_once('wp-admin/admin-header.php'), do_action('in_admin_header'), wp_admin_bar_render, do_action_ref_array, wp_admin_bar_my_account_item, get_avatar, apply_filters('get_avatar'), WP_w3all_phpbb::wp_w3all_phpbb_custom_avatar, WP_w3all_phpbb::wp_w3all_assoc_phpbb_wp_users, WP_w3all_phpbb::w3all_get_phpbb_avatars_url\n', referer: http://preprod.checksix-fr.com/wp-admin ... ussion.php
Sorry for the message size! (A spoil bbcode could be useful here)
this message seems to be related to a user that has an ' on his name.
AH01071: Got error 'PHP message: Erreur de la base de donn\xc3\xa9es WordPress You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Air','eutoposWildcat','JulietBravo','Bourrinopathe') ORDER BY user_id DESC' at line 1 pour la requ\xc3\xaate SELECT username, user_avatar, user_avatar_type ........... ........... FROM phpbb_users WHERE username IN('IceMaKeR','Ghostrider','Pollux','Jaj'Air','eutoposWildcat','JulietBravo','Bourrinopathe') ORDER BY user_id DESC faite par require_once('wp-admin/admin.php'), require_once('wp-admin/admin-header.php'), do_action('in_admin_header'), wp_admin_bar_render, do_action_ref_array, wp_admin_bar_my_account_item, get_avatar, apply_filters('get_avatar'), WP_w3all_phpbb::wp_w3all_phpbb_custom_avatar, WP_w3all_phpbb::wp_w3all_assoc_phpbb_wp_users, WP_w3all_phpbb::w3all_get_phpbb_avatars_url\n', referer: http://preprod.checksix-fr.com/wp-admin ... ussion.php