Help with php errors in wordpress

Hello, I are showing some php errors, each time I try to add or update information in a post or page, or every time you activate a plugin gives me a blank page, so change momentarily in wp-config.php "define ('WP_DEBUG', false); "to" define ('WP_DEBUG', true), "and I came out the errors that show in the screenshots attached.
At least this error is that I want to correct, as it is the one that causes blank pages:

Notice: wpdb::escape is deprecated since version 3.6! Use wpdb::prepare() or esc_sql() instead. in /home/gamartes/public_html/wp-includes/functions.php on line 2905

Notice: Use of undefined constant UPLOADS - assumed 'UPLOADS' in /home/gamartes/public_html/wp-content/plugins/ultimate-branding/ultimate-branding-files/includes/functions.php on line 281

Thank you for your help.