Prevent issues with saving options without warning

In the profile and post/page interface a warning text is not needed and
thus can be ignored.
Log with error_log only if WP_DEBUG is true

I use error_log for debugging and not just for errors. These changes
make sure the debugging is only active when WP_DEBUG is set to true.