---
title: "中文 WordPress 工具箱(1.2)与WP-Stats(2.2)冲突的解决办法"
author: "cjc"
date: "2008-01-11T13:30:00Z"
tags: []
slug: "wordpress-1-2-wp-stats-2-2"
draft: false
lastmod: "2008-01-11T13:30:00Z"
id: 402728
url: "https://cjc.iteye.com/blog/402728"
---

&lt;script&gt;function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();}&lt;/script&gt;

今天在试用WP-Stats(2.2)时发现无法启动，报严重错误，比较郁闷，到网上找原因，有人说是因为“[中文 WordPress 工具箱](http://yanfeng.org/blog/wordpress/kit)”和“[WP-Stats](http://lesterchan.net/portfolio/programming.php)”冲突,但没有说具体的原因，我试了一下禁用“中文 WordPress 工具箱”，再启用WP-Stats，果然可以启动了。于是查了查两者代码，发现有两个完全相同的函数名：**function get\_mostcommented**和**function get\_commentmembersstats.**注释了两个插件中的任何一个中这两个函数后，就都可以启用了，为什么会有如此相同的函数名实在不理解。

[](http://www.watch-life.net/wordpress/wordpress-cntools-wp-stats-conflict-solve.html "http://www.watch-life.net/wordpress/wordpress-cntools-wp-stats-conflict-solve.html")