WordPress.org

Ready to get started?Download WordPress

Forums

amr ical events lists
[resolved] [Plugin: AmR iCal Events List] Warning: date_modify() [function.date-modify] (4 posts)

  1. Bane Unreinen
    Member
    Posted 4 years ago #

    I would like to use this plugin and widget, the demo and customization looks very nice. Unfortunately, When I try to use it, I get the following error:

    Warning: date_modify() [function.date-modify]: Failed to parse time string (0) at position 0 (0)

    At the setting for the plugin, under Advanced it says:
    Your php version is: 5.2.13
    Cannot determine timezonedb version in php < 5.3.

    But the timezome is still correct. I tried using several different ics files, but the same error always appears.

    Any ideas?

  2. Bane Unreinen
    Member
    Posted 4 years ago #

    ok, have poked around a bit, and tested this on two other WP installations and receive the same error.
    Frustrating, the plugin looks nice, but I cannot get it to work.

    ps: the plugin and widget will display the events, but the error message listed above shows up too

  3. anmari
    Member
    Plugin Author

    Posted 4 years ago #

    Yup - some php installs seem to issue a warning when passed a 0 on datemodify (used to allow for date offsets). My installs do not do that, so i don't pick it up. Anyway code has been reworked to check for zero and not call. See 2.9.4 just uploaded. Should be visible soon.

    I'd appreciate if anyone would confirm that that sorts it out. (As I don't get the warnings either way even with all 'notices' switched on.)

  4. Bane Unreinen
    Member
    Posted 4 years ago #

    yup, that worked. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic