Top "Deprecated" questions

Deprecation is a status applied to software features or language terms to indicate that they should be avoided, typically because they have been superseded.

Deprecated: mysql_connect()

I am getting this warning, but the program still runs correctly. The MySQL code is showing me a message in …

php mysql function deprecated
The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead

When I attempt to connect to a MySQL server from PHP, I see the following error: Deprecated: The mysql extension …

mysql deprecated php
jQuery 1.9 .live() is not a function

I recently updated jQuery from 1.8 to 2.1. I suddenly discovered that the .live() stops working. I get the error TypeError: $(...).live …

javascript jquery function live deprecated
How to mark a method as obsolete or deprecated?

How do I mark a method as obsolete or deprecated using C#?

c# .net versioning deprecated
Why is Java Vector (and Stack) class considered obsolete or deprecated?

Why is Java Vector considered a legacy class, obsolete or deprecated? Isn't its use valid when working with concurrency? And …

java vector stack deprecated obsolete
Java: Why is the Date constructor deprecated, and what do I use instead?

I come from the C# world, so not too experienced with Java yet. I was just told by Eclipse that …

java date deprecated
getResources().getColor() is deprecated

Using: buildToolsVersion "22.0.1" , targetSdkVersion 22 in my gradle file. I found that the useful getResources().getColor(R.color.color_name) is deprecated. …

android deprecated android-resources android-color
How to fix the session_register() deprecated issue?

How to fix the session_register() deprecated problem in PHP 5.3

php session deprecated
java.net.URLEncoder.encode(String) is deprecated, what should I use instead?

I get the following warning when using java.net.URLEncoder.encode: warning: [deprecation] encode(java.lang.String) in java.net.…

java url network-programming deprecated
What are the alternatives now that the Google web search API has been deprecated?

Google Web Search API has been deprecated and replaced with Custom Search API (see http://code.google.com/apis/websearch/). …

google-api deprecated google-search google-custom-search