Skip to content

Instantly share code, notes, and snippets.

@higj
Created January 26, 2012 18:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save higj/1684153 to your computer and use it in GitHub Desktop.
Save higj/1684153 to your computer and use it in GitHub Desktop.
PHP Error[2]: Invalid argument supplied for foreach()
in file C:\Wamp\www\phpguide\framework\collections\CMap.php at line 288
#0 C:\Wamp\www\phpguide\framework\base\CModule.php(468): mergeArray()
#1 C:\Wamp\www\phpguide\framework\base\CComponent.php(153): CConsoleApplication-
>setComponents()
#2 C:\Wamp\www\phpguide\framework\base\CModule.php(483): CConsoleApplication->__
set()
#3 C:\Wamp\www\phpguide\framework\base\CApplication.php(144): CConsoleApplicatio
n->configure()
#4 C:\Wamp\www\phpguide\framework\YiiBase.php(127): CConsoleApplication->__const
ruct()
#5 C:\Wamp\www\phpguide\framework\YiiBase.php(115): createApplication()
#6 C:\Wamp\www\phpguide\framework\yiic.php(24): createConsoleApplication()
#7 C:\Wamp\www\phpguide\protected\yiic.php(7): require_once()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment