( ! ) 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.0000484464{main}( ).../index.php:0
20.0004484816require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.29034093984require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.29464122976include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.29464122976get_header( $name = ???, $args = ??? ).../single.php:10
60.29464123192locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.29464123288load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.29464123832require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.29494131240wp_head( ).../header.php:18
100.29494131240do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.29494131456WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.29494131456WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.29524134872wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.29524134872do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.29524135088WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.29524135088WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.29554136976twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.29564138496wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.29564138496WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.29564138496WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.29564138496_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.29564144448wp_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.29574263984trigger_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.0000484464{main}( ).../index.php:0
20.0004484816require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.29034093984require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.29464122976include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.29464122976get_header( $name = ???, $args = ??? ).../single.php:10
60.29464123192locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.29464123288load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.29464123832require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.29494131240wp_head( ).../header.php:18
100.29494131240do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.29494131456WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.29494131456WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.29524134872wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.29524134872do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.29524135088WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.29524135088WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.29554136976twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.32024265088wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.32024265088WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.32024265088WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.32024265088_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.32034265408wp_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.32034265632trigger_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

Mac 安裝Secp256k1 no secp256k1 in java.library.path

報錯

#報錯提示
no secp256k1 in java.library.path

解決方案

  1. 使用 brew 安裝構建依賴項
    brew install autoconf automake libtool berkeley-db4 pkg-config openssl boost boost-build libevent
  2. 下載secp256k1
    #隨便找個地方clone就行
    git clone [email protected]:bitcoin-core/secp256k1.git
  3. 構建secp256k1
    #以下步驟都在clone的secp256k1 中進行
    1. sh autogen.sh 
    #這一步與github 中的不同,github 的還是會出錯,視情況輸入命令吧
    2. ./configure --enable-module-recovery --enable-jni --enable-module-ecdh --enable-experimental
    3. make 
    4. make check 
    5. sudo make install
    6.

參考資料

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.