( ! ) Deprecated: Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/html/wp-includes/functions.php on line 6131
Call Stack
#TimeMemoryFunctionLocation
10.0000484048{main}( ).../index.php:0
20.0005484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.21974114248require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.22404143240include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.22404143240get_header( $name = ???, $args = ??? ).../single.php:10
60.22404143456locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.22404143552load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.22434144096require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.22454151504wp_head( ).../header.php:18
100.22454151504do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.22454151720WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.22454151720WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.22464155136wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.22464155136do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.22464155352WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.22464155352WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.22484157240twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.22494158760wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.22494158760WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.22494158760WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.22494158760_deprecated_argument( $function_name = 'WP_Dependencies->add_data()', $version = '6.9.0', $message = 'IE conditional comments are ignored by all supported browsers.' ).../class-wp-dependencies.php:317
220.22494159080wp_trigger_error( $function_name = '', $message = 'Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:5925
230.22504165464trigger_error( $message = 'Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:6131

( ! ) Deprecated: Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/html/wp-includes/functions.php on line 6131
Call Stack
#TimeMemoryFunctionLocation
10.0000484048{main}( ).../index.php:0
20.0005484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.21974114248require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.22404143240include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.22404143240get_header( $name = ???, $args = ??? ).../single.php:10
60.22404143456locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.22404143552load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.22434144096require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.22454151504wp_head( ).../header.php:18
100.22454151504do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.22454151720WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.22454151720WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.22464155136wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.22464155136do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.22464155352WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.22464155352WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.22484157240twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.24634166568wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.24634166568WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.24634166568WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.24634166568_deprecated_argument( $function_name = 'WP_Dependencies->add_data()', $version = '6.9.0', $message = 'IE conditional comments are ignored by all supported browsers.' ).../class-wp-dependencies.php:317
220.24634166888wp_trigger_error( $function_name = '', $message = 'Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:5925
230.24644167112trigger_error( $message = 'Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:6131

J2ME : Sort Record Example

import javax.microedition.rms.*;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import java.io.*;

public class SortExample extends MIDlet implements CommandListener
{
  private Display display;
  private Alert alert;
  private Form form
  private Command exit; 
  private Command start;
  private RecordStore recordstore = null;
  private RecordEnumeration recordEnumeration = null;
  private Comparator comparator = null;
  public SortExample ()
  {
    display = Display.getDisplay(this);
    exit = new Command(“Exit”, Command.SCREEN, 1);
    start = new Command(“Start”, Command.SCREEN, 1);
    form new Form(“Mixed RecordEnumeration”null);
    form.addCommand(exit);
    form.addCommand(start);
    form.setCommandListener(this);
  }
  public void startApp()
  {
    display.setCurrent(form);
  }
  public void pauseApp()
  {
  }
  public void destroyAppboolean unconditional )
  {
  }
  public void commandAction(Command command, Displayable displayable)
  {
    if (command == exit)
    {
      destroyApp(true);
      notifyDestroyed();
    }
    else if (command == start)
    {
      try
      {
        recordstore = RecordStore.openRecordStore(
                      “myRecordStore”true );
      }
      catch (Exception error)
      {
        alert = new Alert(“Error Creating”
             error.toString(), null, AlertType.WARNING)
        alert.setTimeout(Alert.FOREVER)
        display.setCurrent(alert);
      }
      try
      {
        String outputData[] {“Mary”“Bob”“Adam”};
        for (int x = 0; x < 3; x++)
        {
          byte[] byteOutputData = outputData[x].getBytes();
          recordstore.addRecord(byteOutputData, 0
                   byteOutputData.length);
        }
      }
      catch Exception error)
      {
       alert = new Alert(“Error Writing”
                error.toString(), null, AlertType.WARNING)
       alert.setTimeout(Alert.FOREVER)
       display.setCurrent(alert);
      }
      try
      {
        StringBuffer buffer = new StringBuffer();
        Comparator comparator = new Comparator();
        recordEnumeration = recordstore.enumerateRecords(
                          null, comparator, false);
        while (recordEnumeration.hasNextElement())
        {
          buffer.append(new String(recordEnumeration.nextRecord()));
          buffer.append(“\n”);
        }
        alert = new Alert(“Reading”, buffer.toString() 
                 null, AlertType.WARNING)
        alert.setTimeout(Alert.FOREVER)
        display.setCurrent(alert);
      }
      catch (Exception error)
      {
        alert = new Alert(“Error Reading”
                  error.toString(), null, AlertType.WARNING)
        alert.setTimeout(Alert.FOREVER)
        display.setCurrent(alert);
      }
      try
      {
       recordstore.closeRecordStore();
      }
      catch (Exception error)
      {
        alert = new Alert(“Error Closing”
                    error.toString(), null, AlertType.WARNING)
        alert.setTimeout(Alert.FOREVER)
        display.setCurrent(alert);
      }
      if (RecordStore.listRecordStores() != null)
      {
        try
        {
          RecordStore.deleteRecordStore(“myRecordStore”);
          recordEnumeration.destroy();
        }
        catch (Exception error)
        {
         alert = new Alert(“Error Removing”
                error.toString(), null, AlertType.WARNING)
         alert.setTimeout(Alert.FOREVER)
         display.setCurrent(alert);
        }
      }      
    }
  }     
}
class Comparator implements RecordComparator
{
  public int compare(byte[] record1, byte[] record2)
  {
    String string1 = new String(record1)
               string2= new String(record2);
    int comparison = string1.compareTo(string2);
    if (comparison == 0)
      return RecordComparator.EQUIVALENT;
    else if (comparison < 0)
      return RecordComparator.PRECEDES;
    else
      return RecordComparator.FOLLOWS;
  }
}

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.