Skip to content
This repository was archived by the owner on Jun 1, 2024. It is now read-only.
This repository was archived by the owner on Jun 1, 2024. It is now read-only.

Dates > 2038 not working  #31

Description

@fergbrain

The plugin causes an error when dates are greater than 2038. I have seen this mentioned in the comments on your site but is there a fix for this? Here is the debug info.

Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct() [datetime.--construct]: Failed to parse time string (@) at position 0 (@): Unexpected character' in /nas/wp/www/cluster-3156/resurfacr/wp-content/plugins/countdown-timer/fergcorp_countdownTimer.php:1222 Stack trace: #0 /nas/wp/www/cluster-3156/resurfacr/wp-content/plugins/countdown-timer/fergcorp_countdownTimer.php(1222): DateTime->__construct('@') #1 /nas/wp/www/cluster-3156/resurfacr/wp-content/plugins/countdown-timer/fergcorp_countdownTimer.php(654): Fergcorp_Countdown_Timer_Event->__construct(false) #2 /nas/wp/www/cluster-3156/resurfacr/wp-content/plugins/countdown-timer/fergcorp_countdownTimer.php(968): Fergcorp_Countdown_Timer->singleTimer('January 1, 2100') #3 [internal function]: Fergcorp_Countdown_Timer->shortcode_singleTimer(Array, '', 'fergcorp_cdt_si...') #4 /nas/wp/www/cluster-3156/resurfacr/wp-includes/shortcodes.php(283): call_user_func(Array, Array, '', 'fergcorp_cdt_si...') #5 [internal fun in /nas/wp/www/cluster-3156/resurfacr/wp-content/plugins/countdown-timer/fergcorp_countdownTimer.php on line 1222

https://wordpress.org/support/topic/dates-2038-not-working

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions