WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. webaware
    Member
    Posted 2 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);

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 2 years ago #

    thx for pointing this out.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic