1. busby
  2. JEvents 1.5 (No longer actively supported)
  3. Wednesday, 19 October 2011
After updateing to the latest version of Joomla, a new error is appearing in my logs:
PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /mnt/data/vhosts/http://mysite.co.uk/httpdocs/components/com_jevents/controllers/icals.php on line 841 


I Googled the error and found 2 pages of results with the same or similar errors. If I clicked on the Google result it tried to download a file!

Any suggestions please..
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
What version of Jevents are you using now?

Make sure its either JEvents 1.5.5g or 2.0.7
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
Accepted Answer Pending Moderation
0
Votes
Undo
Its 1.5.5g..
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Can yuou change line 841 to read:

				if ($exceptiondata && array_key_exists($a->_eventid, $exceptiondata) && array_key_exists($a->rp_id(), $exceptiondata[$a->_eventid]))


this should sort it out
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
Accepted Answer Pending Moderation
0
Votes
Undo
OK thanks - this is how it look snow:
				// in case the first repeat has been changed
if ($exceptiondata && array_key_exists($a->_eventid, $exceptiondata) && array_key_exists($a->rp_id(), $exceptiondata[$a->_eventid]))
{
$start = strtotime($exceptiondata[$a->_eventid][$a->rp_id()]->oldstartrepeat);
}
// Change timezone to UTC


Is this right pleas?

Thanks again for your help :)
Accepted Answer Pending Moderation
0
Votes
Undo
That seems to have resolved it Geraint, many thanks..
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.