widget.php中sprintf函数的警告日志

时间:2017-09-22 13:03:24

标签: wordpress printf

每次我的wordpress主题加载我的主机在error_log文件中添加50行,如下所示:

[22-Sep-2017 13:00:01 UTC] PHP Warning:  sprintf(): Too few arguments in ..../wp-includes/widgets.php on line 672

Wordpress v4.8.2

1 个答案:

答案 0 :(得分:1)

你的sprint参数应该是这样的

CREATE TABLE `tbl_new` (
    `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
    PRIMARY KEY (`id`)
) AUTO_INCREMENT=2200000000;

RENAME TABLE `tbl` TO `tbl_old`, `tbl_new` TO `tbl`;