502 Error when edit some users

It is most likely that your server is running out of resources. It happens randomly. I would recommend you contact the hosting provider and show them that error. Also ask them to increase the PHP memory limit on your server and look into the server error log files. The 502 error is too generic, it … Read more

How to prevent multiple user accounts with the same meta field?

You can use the add_post_meta and update_post_meta filters to accomplish this. If you return anything other than null in these filters the post meta will not be saved. add_filter(‘add_post_metadata’, ‘check_metadata’, 10, 5); function check_metadata($check, $object_id, $meta_key, $meta_value, $prev_value){ /*** Check if the metadata exists via sql ***/ if($exists) { /*** Notify you or something ***/ … Read more

How to create page for user?

Is there a reason why you don’t just want to make the “author archive” a page and list them all on the page with a shortcode ? If that’s an option, simply put your single author template in author.php Author templates – Template hierarchy If not, you could take your current template (that you’ve put … Read more

Deleted users still able to login

It’s an weird one. Go to the database and check users table to see if the deleted users are there or not. If they are there, delete the unwanted users except the admin.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)