( ! ) 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.10024093496require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.10074122488include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.10074122488get_header( $name = ???, $args = ??? ).../single.php:10
60.10074122704locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.10074122800load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.10074123344require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.10094130752wp_head( ).../header.php:18
100.10094130752do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.10094130968WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.10094130968WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.10104134384wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.10104134384do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.10104134600WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.10104134600WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.10124136488twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.10144138008wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.10144138008WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.10144138008WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.10144138008_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.10144143960wp_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.10144263496trigger_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.10024093496require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.10074122488include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.10074122488get_header( $name = ???, $args = ??? ).../single.php:10
60.10074122704locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.10074122800load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.10074123344require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.10094130752wp_head( ).../header.php:18
100.10094130752do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.10094130968WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.10094130968WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.10104134384wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.10104134384do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.10104134600WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.10104134600WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.10124136488twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.12594264600wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.12594264600WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.12594264600WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.12604264600_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.12604264920wp_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.12614265144trigger_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

lame wav to mp3 Unsupported data format: 0x0006

今天在对上传的wav转为mp3时报错
Unsupported data format: 0x0006
从别的格式pcm导出的wav可以正常转为mp3
出现这个问题第一个想到的办法就是通过mplayer把wav用pcm导一遍再转
这里给出第二个解决方案
先删除lame
apt-get remove lame
安装sndfile
apt-get apt-get install libsndfile1 libsndfile1-dev
下载最新的lame源码
wget http://cdnetworks-kr-2.dl.sourceforge.net/project/lame/lame/3.99/lame-3.99.2.tar.gz
解压安装
tar zxf lame-3.99.2.tar.gz
cd lame-3.99.2/
./configure –with-fileio=sndfile
make && make install
做软链接
ln -s /usr/local/bin/lame /usr/bin/

One thought on “lame wav to mp3 Unsupported data format: 0x0006”

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.