Closed GoogleCodeExporter closed 8 years ago
e-commerce version: 3.1 30/10/2013 SilverStripe version: 3.1 from github 127.0.0.1/admin ------------------------------------------------ [Warning] Invalid argument supplied for foreach() GET /admin/pages Line 408 in /var/www/vhosts/xxxxx.com/httpdocs/framework/admin/code/LeftAndMain.php Source 399 } 400 401 Requirements::javascript($file); 402 } 403 } 404 405 $extraCss = $this->stat('extra_requirements_css'); 406 407 if($extraCss) { 408 foreach($extraCss as $file => $config) { 409 if(is_numeric($file)) { 410 $file = $config; 411 $config = array(); 412 } 413 414 Requirements::css($file, isset($config['media']) ? $config['media'] : null); Trace LeftAndMain->init() CMSMain.php:57 CMSMain->init() Controller.php:139 Controller->handleRequest(SS_HTTPRequest,DataModel) LeftAndMain.php:441 LeftAndMain->handleRequest(SS_HTTPRequest,DataModel) AdminRootController.php:93 AdminRootController->handleRequest(SS_HTTPRequest,DataModel) Director.php:360 Director::handleRequest(SS_HTTPRequest,Session,DataModel) Director.php:152 Director::direct(/admin/pages,DataModel) main.php:189 ------------------------------------------------ In config.yml the following is incorrect: LeftAndMain: extra_requirements_css: ecommerce/css/ecommercecmsfixes.css I think this should be: LeftAndMain: extra_requirements_css: - ecommerce/css/ecommercecmsfixes.css Regards, Jose A.
Original issue reported on code.google.com by supp...@sendasoft.com on 30 Oct 2013 at 7:58
supp...@sendasoft.com
FIXED!
Original comment by nfranc...@gmail.com on 4 Nov 2013 at 6:31
nfranc...@gmail.com
Original issue reported on code.google.com by
supp...@sendasoft.com
on 30 Oct 2013 at 7:58