Events Manager
[resolved] PHP warning in events.ics (2 posts)

  1. webaware
    Posted 4 years ago #

    G'day Marcus, I just looked at the events.ics file generated by the plugin, and on my dev system it has PHP warnings in it:

    Warning: date() expects parameter 2 to be long, string given in /data/websites/awri-nwein/wp-content/plugins/events-manager/templates/templates/ical.php on line 36

    I suggest you just change line 36 to:

    $dateModified = date('Ymd\THis\Z', (int) $EM_Event->event_date_modified);


  2. agelonwl
    Posted 4 years ago #

    thx for pointing this out.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic