( ! ) 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.05884095744require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.05924124736include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.05924124736get_header( $name = ???, $args = ??? ).../single.php:10
60.05924124952locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.05924125048load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.05934125592require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.05944133000wp_head( ).../header.php:18
100.05944133000do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.05944133216WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.05944133216WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.05954136632wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.05954136632do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.05954136848WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.05954136848WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.05974138736twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.05984140256wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.05984140256WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.05984140256WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.05984140256_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.05984146208wp_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.05994265744trigger_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.05884095744require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.05924124736include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.05924124736get_header( $name = ???, $args = ??? ).../single.php:10
60.05924124952locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.05924125048load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.05934125592require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.05944133000wp_head( ).../header.php:18
100.05944133000do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.05944133216WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.05944133216WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.05954136632wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.05954136632do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.05954136848WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.05954136848WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.05974138736twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.11894266848wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.11894266848WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.11894266848WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.11904266848_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.11904267168wp_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.11914267392trigger_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

关于编译resin的错误处理。

不知道什么时候开始,resin4就无法编译

错误1:aclocal: couldn’t open directory `m4′: No such file or directory

[root@datanode2 resin-pro-4.0.36]# make
CDPATH=”${ZSH_VERSION+.}:” && cd . && aclocal -I m4
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
aclocal: couldn’t open directory `m4′: No such file or directory
make: *** [aclocal.m4] Error 1

处理办法在resin目录下建立m4目录。

mkdir m4

问题解决。

错误2:Makefile.in not found

[root@datanode2 resin-pro-4.0.36]# make
cd . && automake –foreign –ignore-deps
configure.ac:1568: required file `../pro/modules/c/src/Makefile.in’ not found
configure.ac:1568: required file `../pro/modules/c/src/resin/Makefile.in’ not found
configure.ac:1568: required file `../pro/modules/c/src/resinssl/Makefile.in’ not found
make: *** [Makefile.in] Error 1

解决办法:
mkdir ../pro
cp -r modules ../pro/

 

以上2个错误应该跟新版的resin没有多大关系,不过可能是我的编译器比较旧吧。

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.