( ! ) 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.0001484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.07904094192require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.07964123184include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.07964123184get_header( $name = ???, $args = ??? ).../single.php:10
60.07964123400locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.07964123496load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.07964124040require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.07984131448wp_head( ).../header.php:18
100.07984131448do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.07984131664WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.07984131664WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.08004135080wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.08004135080do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.08004135296WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.08004135296WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.08024137184twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.08034138704wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.08034138704WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.08034138704WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.08034138704_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.08034144656wp_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.08044264192trigger_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.0001484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.07904094192require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.07964123184include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.07964123184get_header( $name = ???, $args = ??? ).../single.php:10
60.07964123400locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.07964123496load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.07964124040require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.07984131448wp_head( ).../header.php:18
100.07984131448do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.07984131664WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.07984131664WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.08004135080wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.08004135080do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.08004135296WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.08004135296WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.08024137184twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.10714265296wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.10714265296WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.10714265296WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.10714265296_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.10714265616wp_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.10724265840trigger_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

Apache Kafka 0.8.0发布,高吞吐量分布式消息系统

Apache Kafka 0.8.0版本近日发布。Apache Kafka是源自LinkedIn的一种分布式日志服务,主要用Scala语言开发(少量Java),其实质是高吞吐量而功能简单的消息队列。由于架构设计独特,Kafka与传统消息队列相比,内置分区、复制和容错功能,适合大规模系统。曾有数据表明,Kafka能够每秒发布超过40万条消息。

目前Kafka已经被众多互联网公司如Twitter、Pinterest、Netflix、Tumblr、Foursquare、Square、StumbleUpon、Coursera等广泛应用,主要使用场景包括:消息处理、活动流跟踪、运营数据监测、日志聚合、流处理(与Storm配合)等。

Apache Kafka 0.8.0版本主要改进包括:

更多技术细节请参考版本说明

技术资料

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.