When adding a new dashlet to the home page (does not matter which one) several users get this error message at the top of the home page:
Fatal error: MySugar::require_once() [function.require]: Failed opening required '' (include_path='C:\xampp\xampp\htdocs\sugar_test\in clude/..;.;C:\xampp\xampp\php\pear\') in C:\xampp\xampp\htdocs\sugar_test\include\MySugar\M ySugar.php on line 94
When I do a dump of require_once($dashlets[$id]['fileLocation']); I get this:
<br /><b>Warning</b>: array_unshift() [<a href='function.array-unshift'>function.array-unshift</a>]: The first argument should be an array in <b>C:\xampp\xampp\htdocs\sugar_test\include\ MySugar\MySugar.php</b> on line <b>76</b><br />
Which means something is funked up with this array:
$pages[$_REQUEST['activeTab']]['columns'][0]['dashlets']
Any ideas?
Thanks,
Jason


LinkBack URL
About LinkBacks





Reply With Quote

Bookmarks