Edit user functon not compatible with PHP 7
-
It seems that, in order to be able to save changes to an edited user, one cannot use PHP 7 with only mysqli. I get an error where the SAVE button should appear.
in fact, in line 117 there is mysql_query(… instead of mysqli_query
proposed fix (line 118 and 119):
$dtpbcheck = mysqli_query($wpdb,"SELECT * FROM $wpdb->usermeta WHERE user_id='$dtpbuser' AND meta_key='dt_poweredby'"); $dtpbcheckres = mysqli_fetch_array($dtpbcheck);
- The topic ‘Edit user functon not compatible with PHP 7’ is closed to new replies.