( ! ) 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.10224093552require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.10274122544include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.10274122544get_header( $name = ???, $args = ??? ).../single.php:10
60.10274122760locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.10274122856load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.10274123400require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.10284130808wp_head( ).../header.php:18
100.10284130808do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.10284131024WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.10284131024WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.10304134440wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.10304134440do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.10304134656WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.10304134656WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.10314136544twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.10334138064wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.10334138064WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.10334138064WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.10334138064_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.10334144016wp_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.10344263552trigger_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.10224093552require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.10274122544include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.10274122544get_header( $name = ???, $args = ??? ).../single.php:10
60.10274122760locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.10274122856load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.10274123400require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.10284130808wp_head( ).../header.php:18
100.10284130808do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.10284131024WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.10284131024WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.10304134440wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.10304134440do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.10304134656WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.10304134656WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.10314136544twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.12874264656wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.12874264656WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.12874264656WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.12874264656_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.12884264976wp_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.12884265200trigger_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

利用samba备份文件。

利用samba备份文件。


首先安装samba
# yum install samba


增加用户backupuser
#adduser backupuser -g users
然后修改backupuser的密码xxxxxx
#passwd backupuser


[backupfile]
    comment = file backup dir.it will auto backup per hour.
    valid users= backupuser
    path=/data/backupfile
    browseable=no
    writable=yes


增加smbuser
#smbpasswd -a backupuser
输入密码,直接按回车就可以了。


#mount -t cifs -o username=strong,password=strongkiller -v //mysqlhost/1363file /backupdir


如果出现错,如权限等,请确认backupuser有读写/data/backupfile的权限,如果还不行就把seLinux关闭。


#vi backup_file_per_hour.sh


#!/bin/sh
time_year_month=”$(date +”%Y%m”)”
time_day=”$(date +”%d”)”
need_backup_folder=”/data2/album/$time_year_month/$time_day”
backup_year_folder=”/backupdir/album/$time_year_month”
if [ ! -d $backup_year_folder ]
        then
       mkdir $backup_year_folder
fi


backup_current_folder=”/backupdir/album/$time_year_month/$time_day”
if [ ! -d $backup_current_folder ]
        then
                mkdir $backup_current_folder
fi


cp -rfu $need_backup_folder/*.* $backup_current_folder/


#crontab -e


59 * * * * sh /home1/software/backup_file_per_hour.sh


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.