#28 - Errors on 6.5.2 CE instance
Hi,
I applied 2.4.1 hoping it would correct some other bugs I saw after installing 2.2 last night:
Warning: Invalid argument supplied for foreach() in /usr/share/SugarCE/include/MVC/View/SugarView.php on line 679 Notice: Undefined variable: pageArray in /usr/share/SugarCE/include/MVC/View/SugarView.php on line 683 Notice: Use of undefined constant footerLineCollapsed - assumed 'footerLineCollapsed' in /usr/share/SugarCE/modules/TRThemeController/TRThemeController.php on line 247 Notice: Use of undefined constant shortcutsCollapsed - assumed 'shortcutsCollapsed' in /usr/share/SugarCE/modules/TRThemeController/TRThemeController.php on line 266
We're getting these errors on the login page as well as while navigating through the CRM. Any ideas?
Thanks
11 years ago
just fixed it and will upload a new version. In any case this is not critical. You should turn off error display in your php.ini and they will be gone. Warnings and notices do not influence the behaviour of the system.
11 years ago
Just let me know when it's available and I'll give it a go. Love the theme and looking forward to going live with it beginning in January.
Thanks
11 years ago
an updated version has been released
11 years ago
Try:
sugar/modules/TRThemeController/TRSideBarWidgets/TRSideBarWidgetShortcuts.php View file @ d4d4fca ... ... @@ -27,7 +27,7 @@ public function display($closed = true){ 27 27 if($item['URL'] == "-"){ 28 28 $return.= ' '; 29 29 }else{ 30 - $return.= ''.$item['LABEL'].''; 30 + $return.= ''.$item['LABEL'].''; 31 31 } 32 32 } 33 33 $return.=''; 2 sugar/modules/TRThemeController/TRThemeSideBarManager.php View file @ d4d4fca ... ... @@ -29,7 +29,7 @@ function display($ss){ 29 29 $ss->assign("TRSideBar",$SideBarContent); 30 30
31 31 $jsIncludes_return=''; 32 - if(count($jsIncludes)>0){ 32 + if(isset($jsIncludes) && count($jsIncludes)>0){ 33 33 foreach($jsIncludes as $js){ 34 34 if(is_array($js)){ 35 35 foreach($js as $file){