By Guest on Tuesday, 10 July 2018
Replies 4
Likes 0
Views 1.1K
Votes 0
Hi,

I'm using Jevents and have come across a CALL TO A MEMBER FUNCTION TOFORMAT() ON NULL error when i click on a day in the calendar module.

Do we have a fix for this for it to stop it happening or a work around until a fix can be made.

Thanks
Donald
Hello,

Did you change your themes template override files? If not then you should report this to them;

The following line of code in:

/templates/ja_purity_ii/html/com_jevents/default/day/listevents_body.php

has this line:


$class = $datenow->toFormat('%Y-%m-%d') > $row->startdate() ? "pastevent":"";


but $datanow is not defined, it should be:


$datenow = JEVHelper::getNow();
$class = $datenow->toFormat('%Y-%m-%d') > $row->startdate() ? "pastevent":"";


Many thanks
Tony
·
Wednesday, 11 July 2018 16:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Donald,

What happens when you use the standard Joomla! template?

Can you provide super user logins so we can take a look?

Many thanks
Tony
·
Tuesday, 10 July 2018 15:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tony,

I'm not sure what template i'm using but i like the one i'm using now with the layout i have.

I have created a Super Account for you to have a look to see what could be happening and to see what could be wrong. Will PM you the details. I have made the module only accessible to super users (at moment) so you will need to log in via the front end to see

Thanks Donald
·
Wednesday, 11 July 2018 10:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for you help Tony,
·
Thursday, 12 July 2018 02:12
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post