WordPress.org

Ready to get started?Download WordPress

Forums

Countdown Timer
[resolved] Cannot Create Multiple Events (19 posts)

  1. hddofut
    Member
    Posted 2 years ago #

    I have WP 3.4.1 and Countdown Timer 3.0.3 with all other plugin disabled I can only create one timer. Comparing your screenshots to what I see, I have no X under delete and only one space for an event. Once an event is created the titles Delete, Event Date, Event Title, Link and Display are run together as
    Delete Event Date Event Title Link Display "Time since" and that is all I see.

    http://wordpress.org/extend/plugins/countdown-timer/

  2. fergbrain
    Member
    Plugin Author

    Posted 2 years ago #

    Have you tried deleting and re-installing the plugin?

  3. hddofut
    Member
    Posted 2 years ago #

    Numerous times and I have the same result.

  4. fergbrain
    Member
    Plugin Author

    Posted 2 years ago #

    1) Are you using the built-in plugin delete function or deleting manually?
    2) Can you send a screen shot of how it looks?

  5. hddofut
    Member
    Posted 2 years ago #

    1) Using the built-in delete function
    2) This is how it looks after I have installed a timer.

  6. hddofut
    Member
    Posted 2 years ago #

    <image>http://utahscubadiver.com/wp-content/uploads/timer.jpg/<image>

  7. fergbrain
    Member
    Plugin Author

    Posted 2 years ago #

    The image doesn't load, can you verify the image?

  8. hddofut
    Member
    Posted 2 years ago #

  9. fergbrain
    Member
    Plugin Author

    Posted 2 years ago #

    Still not working. Here's what I see: http://i47.tinypic.com/2hx1xdi.jpg

  10. hddofut
    Member
    Posted 2 years ago #

    I made a page with the image
    http://utahscubadiver.com/testing/

  11. fergbrain
    Member
    Plugin Author

    Posted 2 years ago #

    What version of PHP are you using?

  12. hddofut
    Member
    Posted 2 years ago #

    PHP version 5.2.17 according to cPanel

  13. fergbrain
    Member
    Plugin Author

    Posted 2 years ago #

    In your /wp-admin/ folder, there should be a file called error_log. You can either send me the whole thing, or try and read through it for something along the lines of:
    [09-Aug-2012 21:12:53 UTC] PHP Warning: DateTime::getTimestamp() [<a href='http://www.php.net/manual/en/datetime.gettimestamp.php'>datetime.gettimestamp.php</a>]: The DateTime object has not been correctly initialized by its constructor in /home/domain/public_html/wp-content/plugins/countdown-timer/fergcorp_countdownTimer.php on line 1262

    That will help identify the specific error.

  14. hddofut
    Member
    Posted 2 years ago #

    I stripped out duplicates and any that were not related to Countdown Timer.

    [10-May-2012 22:02:22] PHP Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/hddofut/public_html/wp-content/plugins/countdown-timer/fergcorp_countdownTimer.php on line 766

    [10-May-2012 22:23:46] PHP Warning: Invalid argument supplied for foreach() in /home/hddofut/public_html/wp-content/plugins/countdown-timer/fergcorp_countdownTimer.php on line 161

  15. fergbrain
    Member
    Plugin Author

    Posted 2 years ago #

    So that's weird. Version 3.0.3 does not use array_key_exists. In fact the last version to use array_key_exists is 2.4.3.

    Can you please verify again what version of Countdown Timer you have?

  16. hddofut
    Member
    Posted 2 years ago #

    Version 3.0.3 | By Andrew Ferguson |

  17. fergbrain
    Member
    Plugin Author

    Posted 2 years ago #

    I should have looked at the time stamp, it's probably that the error was from an earlier version you had installed.

    I'm not sure what else to recommend. I would be happy to take a look at it personally if you want to contact me offline with a username/password: http://andrewferguson.net/contact/

  18. hddofut
    Member
    Posted 2 years ago #

    Andrew, thank you for personally taking a look and finding a solution.

  19. fergbrain
    Member
    Plugin Author

    Posted 2 years ago #

    For anyone else who has this same issues:

    Bad news: there's a bug. The basic gist of the issue is that PHP made some slight tweaks between version 5.2 and 5.3 with the DateTime class. Comparison operators are supposed to work, but apparently an extended class does not inherit the ability to use the comparison operator.

    I'm going to write it up and get this fix in the main release soon, so when you update to the next version you should not have the same problem.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.