CPC900 Posted January 17, 2010 Report Share Posted January 17, 2010 I get this error when I click on the link to the flight/: Warning: Invalid argument supplied for foreach() in /home/woodsdom/public_html/EPA/lib/skins/epa/schedule_details.tpl on line 24 Linke 24 is this: foreach($scheddata as $month=>$count) or the full section for you: <?php $data = array(); $labels = array(); foreach($scheddata as $month=>$count) { $data[] = $count; $labels[] = $month; } $chart = new ChartGraph('gchart', 'ls', 600, 150); $chart->AddData($data, $labels); echo '<img align="center" src="'.$chart->GenerateGraph().'" />'; ?> Quote Link to comment Share on other sites More sharing options...
CPC900 Posted January 18, 2010 Author Report Share Posted January 18, 2010 anyone? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 18, 2010 Administrators Report Share Posted January 18, 2010 That template has been updated, check the changelog Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.