Form validation on user profile edit

I worked it out. add_action( ‘user_profile_update_errors’, ‘validate_steamid_field’ ); function validate_steamid_field(&$errors, $update = null, &$user = null) { if (!preg_match(“/^STEAM_[0-5]:[01]:\d+$/”, $_POST[‘_bbp_steamid’])) { $errors->add(’empty_steamid’, “<strong>ERROR</strong>: Please Enter a valid SteamID”); } }

warnings & errors after MAMP to live (hosteurope)

These are warnings, not errors ( edited original question to reflect this ). You have two options: The easy way – Turn off displaying errors and warnings, log them to a file instead The proper way – Fix the warnings, and log them to a file instead of outputting If you need help fixing the … Read more

WP_Error message

One of the variables you’re trying to pass into wpdb::prepare is a WP_Error object. WP_Error‘s are like exceptions mixed with return codes: some functions in the WordPress API return WP_Error objects to tell you something went wrong (like get_terms). We’ll need to see more of your code to be more specific, but you can test … Read more

My wordpress site must be being affected by outside sources [duplicate]

Sounds like you got a recycled domain and/or your hosting configuration is not configured right. Also by running a traceroute you have multiple domains set for both http://www.kgstiles.com & http://www.kgstiles.com/pureplantessentials This is a pretty common scenario but can sometimes cause some domain issues. I wouldn’t rule you the possibility of some external source affecting your … Read more

Twenty Eleven theme-options error

You will need to login over FTP, or via some file manager supplied by your host (cPanel and Plesk have built in FTP-like file managers), and replace that file with a clean one. After which, don’t use the file editor. It is dangerous, like working on an airplane while it is in the air.

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