// // 定义小工具的类 WordPressRunningInfoStat class WordPressRunningInfoStat extends WP_Widget{ function WordPressRunningInfoStat(){ // 定义小工具的构造函数 $widget_ops = array('classname' => 'widget_blogstat', 'description' => '显示博客的统计信息'); $this->WP_Widget(false, '博客统计', $widget_ops); } function form($instance){ // 表单函数,控制后台显示 // $instance 为之前保存过的数据 // 如果之前没有数据的话,设置默认量 $instance = wp_parse_args( (array)$instance, array( 'title' => '博客统计', 'establish_time' => '2016-09-28' ) ); $title = htmlspecialchars($instance['title']); $establish_time = htmlspecialchars($instance['establish_time']); // establish_time => 建站日期 // 表格布局输出表单 $output = '
标题 | '; $output .= ''; $output .= ' |
建站日期: | '; $output .= ''; $output .= ' |
( ! ) Warning: session_start(): Cannot start session when headers already sent in D:\wamp64\www\wp-content\themes\ripro\inc\theme-functions.php on line 2638 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 410648 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 410920 | require( 'D:\wamp64\www\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.0001 | 411272 | require_once( 'D:\wamp64\www\wp-load.php' ) | ...\wp-blog-header.php:13 |
4 | 0.0002 | 411952 | require_once( 'D:\wamp64\www\wp-config.php' ) | ...\wp-load.php:37 |
5 | 0.0002 | 413200 | require_once( 'D:\wamp64\www\wp-settings.php' ) | ...\wp-config.php:90 |
6 | 9.2635 | 6756624 | do_action( ) | ...\wp-settings.php:540 |
7 | 9.2635 | 6757000 | WP_Hook->do_action( ) | ...\plugin.php:478 |
8 | 9.2635 | 6757000 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:311 |
9 | 9.2928 | 7505976 | wp_widgets_init( ) | ...\class-wp-hook.php:287 |
10 | 9.2958 | 7535672 | do_action( ) | ...\widgets.php:1765 |
11 | 9.2958 | 7536048 | WP_Hook->do_action( ) | ...\plugin.php:478 |
12 | 9.2958 | 7536048 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:311 |
13 | 9.2958 | 7537176 | caozhuti_widgets_init( ) | ...\class-wp-hook.php:287 |
14 | 9.2958 | 7537176 | is_cao_site_list_blog( ) | ...\functions.php:153 |
15 | 9.2958 | 7537176 | session_start ( ) | ...\theme-functions.php:2638 |
( ! ) Warning: session_start(): Cannot start session when headers already sent in D:\wamp64\www\wp-content\themes\ripro\inc\theme-functions.php on line 1869 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 410648 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 410920 | require( 'D:\wamp64\www\wp-blog-header.php' ) | ...\index.php:17 |
3 | 10.7033 | 15018776 | require_once( 'D:\wamp64\www\wp-includes\template-loader.php' ) | ...\wp-blog-header.php:19 |
4 | 10.7033 | 15018776 | do_action( ) | ...\template-loader.php:13 |
5 | 10.7033 | 15019152 | WP_Hook->do_action( ) | ...\plugin.php:478 |
6 | 10.7033 | 15019152 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:311 |
7 | 10.7046 | 15083344 | cao_retrieve_referral_keyword( ) | ...\class-wp-hook.php:287 |
8 | 10.7046 | 15083344 | session_start ( ) | ...\theme-functions.php:1869 |
( ! ) Warning: session_start(): Cannot start session when headers already sent in D:\wamp64\www\wp-content\themes\ripro\inc\theme-functions.php on line 18 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 410648 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 410920 | require( 'D:\wamp64\www\wp-blog-header.php' ) | ...\index.php:17 |
3 | 10.7033 | 15018776 | require_once( 'D:\wamp64\www\wp-includes\template-loader.php' ) | ...\wp-blog-header.php:19 |
4 | 10.7178 | 15089456 | include( 'D:\wamp64\www\wp-content\themes\ripro\404.php' ) | ...\template-loader.php:106 |
5 | 10.7178 | 15089456 | get_header( ) | ...\404.php:2 |
6 | 10.7178 | 15089832 | locate_template( ) | ...\general-template.php:41 |
7 | 10.7179 | 15089912 | load_template( ) | ...\template.php:672 |
8 | 10.7179 | 15090248 | require_once( 'D:\wamp64\www\wp-content\themes\ripro-child\header.php' ) | ...\template.php:723 |
9 | 10.7812 | 16411808 | body_class( ) | ...\header.php:40 |
10 | 10.7812 | 16411808 | get_body_class( ) | ...\post-template.php:593 |
11 | 10.7816 | 16412184 | apply_filters( ) | ...\post-template.php:834 |
12 | 10.7816 | 16412584 | WP_Hook->apply_filters( ) | ...\plugin.php:206 |
13 | 10.7816 | 16414088 | cao_body_classes( ) | ...\class-wp-hook.php:289 |
14 | 10.7816 | 16414088 | session_start ( ) | ...\theme-functions.php:18 |
class="error404 hfeed navbar-sticky sidebar-none pagination-infinite_button no-off-canvas elementor-default">
工作日:9:00 - 22:00
节假日:9:00 - 18:00
13147859718
13478677650
业务咨询
技术咨询
智慧水务
数字工厂