( ! ) 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.0000484240{main}( ).../index.php:0
20.0000484592require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.09804094064require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.09944123056include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.09944123056get_header( $name = ???, $args = ??? ).../single.php:10
60.09944123272locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.09944123368load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.09984123912require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.09994131320wp_head( ).../header.php:18
100.09994131320do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.09994131536WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.09994131536WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.10014134952wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.10014134952do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.10014135168WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.10014135168WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.10034137056twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.10044138576wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.10044138576WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.10044138576WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.10044138576_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.10044144528wp_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.10054264064trigger_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.0000484240{main}( ).../index.php:0
20.0000484592require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.09804094064require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.09944123056include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.09944123056get_header( $name = ???, $args = ??? ).../single.php:10
60.09944123272locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.09944123368load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.09984123912require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.09994131320wp_head( ).../header.php:18
100.09994131320do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.09994131536WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.09994131536WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.10014134952wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.10014134952do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.10014135168WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.10014135168WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.10034137056twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.12384265168wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.12384265168WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.12384265168WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.12384265168_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.12384265488wp_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.12394265712trigger_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 to zmcjs Cancel 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.