Jump to content

Recommended Posts

Posted

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().'" />';

?>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...