Countdown Timer
[resolved] 3.0 Error (3 posts)

  1. Geezerjim
    Posted 4 years ago #

    I am getting the following error on the settings page after upgrading to 3.0

    Fatal error: Call to a member function date() on a non-object in /{my_setup}/wp-content/plugins/countdown-timer/fergcorp_countdownTimer.php on line 366


  2. Geezerjim
    Posted 4 years ago #

    I had to deactivate and re-activate the plugin, and then re-add the widget to the sidebar.

  3. fergbrain
    Plugin Author

    Posted 4 years ago #

    My apologies on the update issue. A few WP versions ago (3.1 to be precise, http://core.trac.wordpress.org/ticket/14915), there was a change to how register_activation_hook works and it no longer fires on updates. I didn't catch that change.

    I have implemented a fix in 3.0.1 that I believe will solve the update issue by doing a version check against the database and will fire the install action if it detects a lower version. This will properly run the update so the plugin works. As you have also found, the same functionality can be accomplished by deactivating and reactivating the plugin, but why make people do more work?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Countdown Timer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic