Questions tagged [deprecation-warning]

A deprecation warning indicates that a method is obsolete. Using a newer method (which has been provided in the meanwhile) is preferred.

A deprecation warning indicates that a method, property or other software feature is obsolete. Using a newer feature (which has been provided in the meanwhile) is preferred.

547 questions
-2
votes
2 answers

Getting Deprecation notice errors in Phpmyadmin

I have Ubuntu 16.04 LTS and PHP 7 with PhpMyAdmin (4:4.5.4.1-2ubuntu2). I am getting a lot of deprecation notice errors. I wanted to know is turning off errors fine?
-2
votes
3 answers

What does @SuppressWarnings("deprecation") do in Android?

I don't know about it completely. I think that it allows the deprecated code to be compiled. I want to know if the code under this line will always be run or not and does it depend on the software like Eclipse, studio you are working on?
Ruag
  • 189
  • 1
  • 2
  • 15
-2
votes
1 answer

Exception 'no receiver given' raised on association

This user.recipes.count throws exception "no receiver given". Every operation on recipes association does it (first, last, sum, ...). No gem update happened. Callstack here: activerecord (4.0.3) lib/active_record/relation/spawn_methods.rb:41:in…
DonPaulie
  • 2,004
  • 17
  • 26
-3
votes
2 answers

text' is unavailable apis deprecated as of ios 7 and earlier are unavailable in swift

This error keeps popping up. I keep looking everywhere and can't find a solution.
ben m
  • 1
  • 1
  • 1
-4
votes
2 answers

Is it possible to combine multiple MySQL queries in one while()?

while ($row1=mysql_fetch_array($sql1); $row2=mysql_fetch_array($sql2)) { echo $row1['line']; echo $row1['style_no'] ; echo $row2['line']; echo $row2['style_no'] ; }
-4
votes
2 answers

"text" is deprecated

I am getting ready to update an iOS 6 iPhone app to iOS8. The second line of this code produces an error message ("text" is deprecated. First deprecated in iOS 3.0). The syntax error has been in my app for years not causing a problem but I thought I…
DaveW01
  • 3
  • 2
-5
votes
1 answer

can anybody please tell me what is this error in android studio

I have I am making an app about a simple test that tells the truth. I want to turn the led of the camera on/off. Can anybody tell me where is the error here?
1 2 3
36
37