( ! ) 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.0000484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.09754099808require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.09804128800include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.09804128800get_header( $name = ???, $args = ??? ).../single.php:10
60.09804129016locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.09804129112load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.09804129656require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.09824137064wp_head( ).../header.php:18
100.09824137064do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.09824137280WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.09824137280WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.09834140696wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.09834140696do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.09834140912WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.09834140912WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.09844142800twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.09864144320wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.09864144320WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.09864144320WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.09864144320_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.09864144640wp_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.09864151024trigger_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.0000484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.09754099808require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.09804128800include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.09804128800get_header( $name = ???, $args = ??? ).../single.php:10
60.09804129016locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.09804129112load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.09804129656require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.09824137064wp_head( ).../header.php:18
100.09824137064do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.09824137280WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.09824137280WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.09834140696wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.09834140696do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.09834140912WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.09834140912WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.09844142800twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.15334152128wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.15334152128WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.15334152128WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.15334152128_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.15334152448wp_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.15344152672trigger_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 : Read Display File

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

public class ReadDisplayFile extends MIDlet implements CommandListener
{
  private Display display;    // Reference to Display object
  private Form fmMain;       // Main form
  private Command cmHelp;    // Command to show a help file
  private Command cmExit;    // Command to exit the MIDlet
  private Alert alHelp;      // Alert to display help file text

  public ReadDisplayFile()
  {
    display = Display.getDisplay(this);
    
    cmHelp = new Command(“Help”, Command.SCREEN, 1);
    cmExit = new Command(“Exit”, Command.EXIT, 1);    
    
    fmMain = new Form(“Read File”);
    fmMain.addCommand(cmExit);
    fmMain.addCommand(cmHelp);
    fmMain.setCommandListener(this);
  }

  public void startApp()
  {
    display.setCurrent(fmMain);
  }

  public void pauseApp()
  { }

  public void destroyApp(boolean unconditional)
  { }

  public void commandAction(Command c, Displayable s)
  {
    if (c == cmHelp)
    {
      String str;
      // Access the resource and read its contents
      if ((str = readHelpText()) != null)
      {
        // Create an Alert to display the help text        
        alHelp = new Alert(“Help”, str, null, null);
        alHelp.setTimeout(Alert.FOREVER);
        display.setCurrent(alHelp, fmMain);
      }
    }
    else if (c == cmExit)
    {
      destroyApp(false);
      notifyDestroyed();
    
  }
  
  private String readHelpText()
  {
    InputStream is = getClass().getResourceAsStream(“help.txt”);
    try 
    {
      StringBuffer sb = new StringBuffer();
      int chr, i = 0;
      // Read until the end of the stream      
      while ((chr = is.read()) != –1)
          sb.append((charchr);

      return sb.toString();
    }
    catch (Exception e)
    {         
      System.out.println(“Unable to create stream”);
    }
    return null;
  }
}


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.