strpos()期望参数1为字符串,数组给定CORE / Cake / I18n / I18n.php,第140行

I'm using Cakephp 2.2.2 on this project and I'm getting this error:

Warning (2): strpos() expects parameter 1 to be string, array given [CORE/Cake/I18n/I18n.php, line 140]

I'm not sure what is causing this. I'm not using I18n that I know of and I'm not sure what I did do get this install of Cake to do this.

In addition I'm also getting this error, however, I believed this one is caused by the first.

Warning (2): Illegal offset type in isset or empty [CORE/Cake/I18n/I18n.php, line 196]

You are probably passing an integer, array, or some other type to __(). Have a look at the docs for proper usage.