1
I am having trouble with receiving a blank page when trying to enter the agenda x module. I turned on PHP error and it says:
Notice [PHP]: Undefined offset: 0 in file modules/agendax/minical.inc.php line 149
Notice [PHP]: Undefined offset: 1 in file modules/agendax/minical.inc.php line 149
Notice [PHP]: Undefined offset: 2 in file modules/agendax/minical.inc.php line 149
Notice [PHP]: Undefined offset: 3 in file modules/agendax/minical.inc.php line 149
Notice [PHP]: Undefined offset: 4 in file modules/agendax/minical.inc.php line 149
Notice [PHP]: Undefined offset: 5 in file modules/agendax/minical.inc.php line 149
Notice [PHP]: Undefined offset: 6 in file modules/agendax/minical.inc.php line 149
Notice [PHP]: Undefined offset: 7 in file modules/agendax/minical.inc.php line 149
Notice [PHP]: Undefined offset: 8 in file modules/agendax/minical.inc.php line 149
Notice [PHP]: Undefined offset: 9 in file modules/agendax/minical.inc.php line 149
Notice [PHP]: Undefined offset: 10 in file modules/agendax/minical.inc.php line 149
Notice [PHP]: Undefined offset: 11 in file modules/agendax/minical.inc.php line 149
Notice [PHP]: Undefined offset: 12 in file modules/agendax/minical.inc.php line 149
I looked through the code and this is what I have:
if (!$has_event) {
for ($k=0; $k < $sizeOfEvents; $k++) {
if (repeated_event_matches_date($rpt_events[$k], $date_i)) { // Line 149
// is there an exception ?
$sql = 'SELECT event_date FROM '.XOOPS_DB_PREFIX.'_agendax_event_repeats_not WHERE event_id='.$rpt_events[$k]['id'];
$res = mysql_query($sql)
or die("Invalid query: " . mysql_error());
I have posted to the developers website but with no response. If someone could help me with this I would greatly appreciate it.