By lalavalhalla on Friday, 15 June 2018
Replies 4
Likes 0
Views 1K
Votes 0
When I create an event on my site I get a warning message on the front end:


Warning: date() expects parameter 2 to be long, object given in /home/edesix73/staging/1/modules/mod_jevents_latest/tmpl/default/latest.php on line 1191


I haven't changed anything. Any ideas?

i am using the latest jevents component.
Hi,

This is the string that I had.

${startDate(\'M jS, Y)} - ${endDate(\'M jS, Y)}
${content}

Maybe it was out of date as I have fixed it with this:

${startDate(%A %B %e)} - ${endDate(%A %B %e)}
${content}

Thanks
·
Tuesday, 19 June 2018 16:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Can you provide your JEvents Support info please?

Also, that's from the latest events module. Can you post a screenshot of where it says this error?

Many thanks
Tony
·
Friday, 15 June 2018 15:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

I am using the free JEvents component. I have no support. I assumed I could find help on the forum for this issue.

I have attached a few screenshots.

Thanks
·
Friday, 15 June 2018 16:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

In your screenshot 2 you will see a icon with the text 'Support Info'.

But looking at that there is an issue with the latest events module formatting. In the Latest events module, copy the custom format string and paste it here.

If you want to hide the message for now, just set Joomla! error reporting to simple or none in the Joomla! config.

Many thanks
Tony
·
Friday, 15 June 2018 23:25
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post