( ! ) 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.10524091640require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.10574120632include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.10574120632get_header( $name = ???, $args = ??? ).../single.php:10
60.10574120848locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.10574120944load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.10584121488require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.10594128896wp_head( ).../header.php:18
100.10594128896do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.10594129112WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.10594129112WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.10604132528wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.10604132528do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.10604132744WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.10604132744WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.10624134632twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.10634136152wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.10634136152WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.10634136152WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.10634136152_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.10634142104wp_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.10644261640trigger_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.10524091640require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.10574120632include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.10574120632get_header( $name = ???, $args = ??? ).../single.php:10
60.10574120848locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.10574120944load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.10584121488require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.10594128896wp_head( ).../header.php:18
100.10594128896do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.10594129112WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.10594129112WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.10604132528wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.10604132528do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.10604132744WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.10604132744WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.10624134632twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.13004262744wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.13004262744WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.13004262744WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.13004262744_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.13004263064wp_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.13014263288trigger_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

误删 libc.so.6的解决方法

今天不小心把libc.so.6给删除了。

原系统是这样的: libc.so.6 -> lib-2.6.1.so

本想新建立一个软链接,指向 lib-2.8.so

没想到 ln 命令不能用了。 原来linux 很多shell命令都离不开 libc.so.6。 真惨了。 幸好没有关linux.

从网上一查, 找到解决方案:

进入 /lib (或 /lib64 视情况而定),

#LD_PRELOAD=/lib/libc-x.x.x.so && ln -s /lib/libc-x.x.x.so libc.so.6

x.x.x表示系统libc的版本

就可以了

一定要记住自己系统使用的libc版本。

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.