> [1] Configuration error on first page load: Catchable fatal error: > Argument 1 passed to Zend\Config\Config::merge() must be an instance of > Zend\Config\Config, array given, called in > E:\xampp-1x7x7\htdocs\zf2tutorial\library\Zend\Module\Manager.php on line 493 > and defined in > E:\xampp-1x7x7\htdocs\zf2tutorial\library\Zend\Config\Config.php on line 387.
I assume that this error occurs in the getConfig() method of your Module.php file. The solution is: return new Zend\Config\Config(include(__DIR__.'/configs/module.config.php')); I recently stumbled upon this one.. So maybe Rob should fix this in his tutorial! > -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
