// // 定义小工具的类 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.0001 | 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 | 0.1443 | 6756448 | do_action( ) | ...\wp-settings.php:540 |
7 | 0.1443 | 6756824 | WP_Hook->do_action( ) | ...\plugin.php:478 |
8 | 0.1443 | 6756824 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:311 |
9 | 0.1723 | 7505800 | wp_widgets_init( ) | ...\class-wp-hook.php:287 |
10 | 0.1753 | 7535496 | do_action( ) | ...\widgets.php:1765 |
11 | 0.1754 | 7535872 | WP_Hook->do_action( ) | ...\plugin.php:478 |
12 | 0.1754 | 7535872 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:311 |
13 | 0.1754 | 7537000 | caozhuti_widgets_init( ) | ...\class-wp-hook.php:287 |
14 | 0.1754 | 7537000 | is_cao_site_list_blog( ) | ...\functions.php:153 |
15 | 0.1754 | 7537000 | 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 | 1.6126 | 15018600 | require_once( 'D:\wamp64\www\wp-includes\template-loader.php' ) | ...\wp-blog-header.php:19 |
4 | 1.6127 | 15018600 | do_action( ) | ...\template-loader.php:13 |
5 | 1.6127 | 15018976 | WP_Hook->do_action( ) | ...\plugin.php:478 |
6 | 1.6127 | 15018976 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:311 |
7 | 1.6139 | 15083168 | cao_retrieve_referral_keyword( ) | ...\class-wp-hook.php:287 |
8 | 1.6139 | 15083168 | 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 | 1.6126 | 15018600 | require_once( 'D:\wamp64\www\wp-includes\template-loader.php' ) | ...\wp-blog-header.php:19 |
4 | 1.6288 | 15089280 | include( 'D:\wamp64\www\wp-content\themes\ripro\404.php' ) | ...\template-loader.php:106 |
5 | 1.6288 | 15089280 | get_header( ) | ...\404.php:2 |
6 | 1.6288 | 15089656 | locate_template( ) | ...\general-template.php:41 |
7 | 1.6288 | 15089736 | load_template( ) | ...\template.php:672 |
8 | 1.6289 | 15090072 | require_once( 'D:\wamp64\www\wp-content\themes\ripro-child\header.php' ) | ...\template.php:723 |
9 | 1.6927 | 16411632 | body_class( ) | ...\header.php:40 |
10 | 1.6927 | 16411632 | get_body_class( ) | ...\post-template.php:593 |
11 | 1.6933 | 16412008 | apply_filters( ) | ...\post-template.php:834 |
12 | 1.6933 | 16412408 | WP_Hook->apply_filters( ) | ...\plugin.php:206 |
13 | 1.6933 | 16413912 | cao_body_classes( ) | ...\class-wp-hook.php:289 |
14 | 1.6933 | 16413912 | 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
业务咨询
技术咨询
智慧水务
数字工厂