( ! ) 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.02874091696require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.02924120688include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.02924120688get_header( $name = ???, $args = ??? ).../single.php:10
60.02924120904locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.02924121000load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.02924121544require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.02934128952wp_head( ).../header.php:18
100.02934128952do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.02934129168WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.02934129168WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.02954132584wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.02954132584do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.02954132800WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.02954132800WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.02964134688twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.02974136208wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.02974136208WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.02974136208WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.02974136208_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.02974136528wp_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.02984142912trigger_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.02874091696require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.02924120688include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.02924120688get_header( $name = ???, $args = ??? ).../single.php:10
60.02924120904locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.02924121000load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.02924121544require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.02934128952wp_head( ).../header.php:18
100.02934128952do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.02934129168WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.02934129168WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.02954132584wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.02954132584do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.02954132800WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.02954132800WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.02964134688twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.09634144016wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.09634144016WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.09634144016WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.09634144016_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.09634144336wp_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.09644144560trigger_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

獲取LINUX系統資訊(how to get system info in linux)




以下命令列表,提示和資訊是我翻譯過來的.使用這些命令可以很快的取得您的系統資訊.


一般性的系統資訊

提示:很多硬體資訊命令一定要使用root管理員才可以執行,或者使用管理員執行可以獲得更多資訊.


運行qtparted 或者GParted 獲得硬盤和分區資訊.並且使用KDiskFree和fdisk -l獲得全部分區資訊.


hardinfo – 非常好的工具,而且可以獲得詳細報告.


獲取一個硬體報告:


這個報告包含很多其他報告,一些已經列到這篇文章裏面.通過installation-report 安裝Synaptic 包,


在全屏的命令行下運行:
report-hw
或者
report-hw > hwreport (把結果保存到文件hwreport 裏)


sysinfo – 在命令行下運行,可以獲得不錯的效果.


hal-device-manager
kde-hal-device-manager
這些包可以安裝在Synaptic下. 當使用kde-hal-device-manager時.可以通過 KMenu > System > Device Manager 來安裝.


dmidecode -t memory (as root)這個工具顯示系統的DMI(Desktop Management Interface)報告,報告內容包括系統的所有硬體,例如BIOS的版本號等. dmidecode 不單單顯示系統的當前配置,還包括BIOS支援CPU速度,最大記憶體等資訊.
dmidecode | less (as root) BIOS 資訊和系統資訊 (使用空格換頁,使用q退出)


uname -a (系統版本號)
uname -m 系統版本 (i.e. – i686)
uname -r 系統核心版本號


lshw (as root) – 列印硬體列表; 可以要使用 lshw | less (使用空格換頁,使用q退出)
lshw-gtk (as root) –


lsb_release -a (發行版本的資訊)  (或者查看 /etc/lsb_release)

***在 RedHat Linux AS4, 顯示的內容為:
LSB Version:    :core-3.0-ia32:core-3.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch
Distributor ID: RedHatEnterpriseAS
Description:    Red Hat Enterprise Linux AS release 4 (Nahant Update 2)
Release:        4
Codename:       NahantUpdate2


lspci (as root) (控制器等資訊) (非常好的報告;參數 -v 顯示詳細內容,參數 -vv 顯示非常詳細的內定)
lspci -tv (as root) 以樹的形式顯示
lsusb, lsusb -tv – 列出USB設備
lsmod (at root, 顯示系統已載入的核心模組. 或者使用lsmod | less)


/proc – 包含很多本地重要資訊,使用 cd /proc  && ls ,使用cat命令查看/proc下面的文件,例如:cpuinfo,devices,filesystems,meminfo,partitions,swaps,uptime,version等;也可以進入子目錄查看,例如 cd driver.
例子:
cat /proc/cpuinfo (或者在/proc下使用cat cpuinfo )
cat /proc/version (或者在/proc下使用 cat verson ) – 版本資訊
cat /proc/swaps (或者在/proc下使用 cat swaps ) 顯示所有交換區.


top – 即時地顯示Linux的進程; 系統的情況和被內核所管理的進程,還包括交換區使用情況;使用 Shift-f 來排序 (默認排序是 k – CPU 使用率)

ctrl-esc 在KDE環境下顯示進程列表

顯示正在運行的線程:
ps aux
ps -e


swapon -s 顯示記憶體交換區和對應的資訊
swapon -a 使得包含在/etc/fstab裏的全部交換區生效.


free (記憶體使用情況,以K單位)
free -m (記憶體使用情況,以M為單位).


df -h (顯示所有載入的文件系統的資訊, 全部用戶都有權查看)
df -hT (顯示所有載入的文件系統的資訊,並且顯示文件系統的類型, 全部用戶都有權查看)


du / -bh | more 詳細的顯示每個子目錄的使用情況,全部用戶都可以查看,使用空格換頁,使用q退出.
du -s /var/log/* – 顯示系統記錄/var/log所使用的空間


hdparm -t /dev/hda (as root) – 測試並顯示 hda 的性能


相關時間命令:
date
uptime


fdisk -l 顯示所有硬碟上面的分區資訊.


/etc/fstab (這個文件包含文件系統的配置)內容一般為:
LABEL=/                 /                       ext3    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
LABEL=/home             /home                   ext3    defaults        1 2
LABEL=/home1            /home1                  ext3    defaults        1 2
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/sda5               swap                    swap    defaults        0 0



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.