• Resolved rutvikkarve

    (@rutvikkarve)


    Editing or updating an announcement doesn’t work. It either causes the spinner on “publish” or “update” to spin incessantly, or the page shows a “500” error.

    Specifically, changing dates doesn’t work. Could you push an update with the format fix, please?

    Here’s the log:

    [25-Aug-2016 14:32:40] PHP Warning: date() expects parameter 2 to be long, string given in /home/XXXX/XXX/wp-content/plugins/timeline-express/lib/admin/cpt/timeline-express-admin-columns.php on line 72
    [25-Aug-2016 14:33:05] PHP Fatal error: Call to a member function getTimeStamp() on a non-object in /home/XXXX/XXX/wp-content/plugins/timeline-express/lib/helpers.php on line 142

    https://wordpress.org/plugins/timeline-express/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Evan Herman

    (@eherman24)

    Hi,

    What is your date format? What is the date you are attempting to save?

    Thanks,
    Evan

    I’ve just activated this plugin and when I try to save an announcement I get this error:

    Fatal error: Call to a member function getTimeStamp() on a non-object in /home/ahmandah/webapps/wp/wp-content/plugins/timeline-express/lib/helpers.php on line 179

    This happens no matter what date I try to enter, current or historical. I’ve tried using the pop-up calendar as well as just typing the date in but get the same error either way.

    When I go to the All Announcements screen, this appears in the date column for each announcement:

    Warning: date() expects parameter 2 to be long, string given in /home/ahmandah/webapps/wp/wp-content/plugins/timeline-express/lib/admin/cpt/timeline-express-admin-columns.php on line 72

    Ah, sorry, I’ve just found your helpful post

    https://www.wp-timelineexpress.com/documentation/fatal-error-call-member-function-gettimestamp/

    I’m pretty sure I’m on an old version of PHP… I’ll get on that…

    Cheers!

    Plugin Author Evan Herman

    (@eherman24)

    Awesome, glad you were able to find the help doc on the topic 🙂

    Evan

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Announcement Updates Not Working – Date Error’ is closed to new replies.