WordPress.org

Ready to get started?Download WordPress

Forums

Testimonials by Aihrus
[resolved] undefined constant HOUR_IN_SECONDS error when using premium (11 posts)

  1. peek
    Member
    Posted 1 year ago #

    when i activate premium i get these error messages:

    Notice: Use of undefined constant HOUR_IN_SECONDS - assumed 'HOUR_IN_SECONDS' in /Users/jns/Sites/pauld/wp/wp-content/plugins/testimonials-widget-premium/testimonials-widget-premium.php on line 813

    i tried with all plug ins disabled as well as the twenty twelve theme: doesn't help.
    i'm on wp 3.4.2.

    any clues how to resolve this?

    http://wordpress.org/extend/plugins/testimonials-widget/

  2. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    That constant is built-in to WordPress. If you're not running the latest WordPress version, please upgrade if possible.

    If still stuck, for now replace HOUR_IN_SECONDS with 3600. I'm on my way to Hyderabad and not able to change code in time for you.

  3. peek
    Member
    Posted 1 year ago #

    sorry, can't upgrade to 3.5 because of anothers plugin compatibility problems.

    replaced as you did. seems to work!

  4. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    What plugin is limiting you?

  5. peek
    Member
    Posted 1 year ago #

    Nextgen Gallery made me downgrade...

  6. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    That's a major plugin and they require WordPress below 3.5?

    What's the particular reason for downgrading?

  7. peek
    Member
    Posted 1 year ago #

  8. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    Are you running W3 Total Cache?

    Are you running PHP 5.3?

  9. peek
    Member
    Posted 1 year ago #

    i'm not running any caching plug ins.
    php is 5.4.4

  10. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    No idea then for now. When was the last time you tried updating NG?

  11. peek
    Member
    Posted 1 year ago #

    Don't worry, it's no biggie for now!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic