• Resolved Starhorsepax2

    (@starhorsepax2)


    First, we have this in 2 places. One is in the sidebar widget. One is in the home page edited into the PHP. They are both set to the exact same time.

    However they are not matching on the countdown.

    Also when I click to make sure the date is right in the widget, I’ve found the calendar picker is confused. VERY confused. Click a date and it changes from this year and month to January 0. Click the back arrow and it goes to November 1899! Very handy for a time machine but sadly not for counting down to a future (fast upcoming) date.

    How can I fix this?

    The theme is Edge.
    Plugins include Fundraising, and a few others. Is there a list anywhere of known compatibility issues? This plugin and the others have remained the same for years. So if there is a change its due to an upgrade, not an added plugin.

    https://www.ads-software.com/plugins/jquery-t-countdown-widget/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Baden

    (@baden03)

    sounds like you got all kinds of crazy going on.

    Let’s first get this calendar picker issues resolved. when you are on the widget page, are there any JavaScript errors being displayed?

    Do you have a dev version of your site that can have wp_debug switched on to see if any other errors are present?

    As for the time mis-match issue, can you share a link to your site so we can take a peek?

    Thread Starter Starhorsepax2

    (@starhorsepax2)

    Development does not seem to have the same issue. Calendar picker works normally there but the home page short code in php countdown doesn’t work at all even though its the same. Never bothered to troubleshoot that one. (And thats weird because its the exact same except out of date teams on the fundraiser stuff.)

    Feeling kind of urgent here: its counting down to August 13!


    Here is page with it manually added into the presentation page:

    https://wagginfordragons.com
    using this: ` <?php echo do_shortcode (‘[tminus t=”2016-08-13-9-30″ style=”c-3po-mini”]’); ?>
    `
    I don’t think that code has changed from what I used last year.

    And here is the page with it in the widget area:
    https://wagginfordragons.com/team/

    I turned on debug for a minute in the live site and got this (private host info deleted of course) But nothing directly mentions the countdown:

    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /wp-includes/functions.php:3658) in wp-content/plugins/fundraising/fundraiser.php on line 842

    Notice: Trying to get property of non-object in /wp-content/themes/edge/framework/admin/admin_setup.php on line 32

    Notice: Trying to get property of non-object in wp-content/themes/edge/header.php on line 85

    Notice: add_custom_background is deprecated since version 3.4! Use add_theme_support( ‘custom-background’, $args ) instead. in wp-includes/functions.php on line 3658

    Notice: The called constructor method for WP_Widget in mTheme_Twitter is deprecated since version 4.3.0! Use

    __construct()

    instead. in wp-includes/functions.php on line 3718

    Notice: The called constructor method for WP_Widget in mtheme_SidebarGallery_Widget is deprecated since version 4.3.0! Use

    __construct()

    instead. inwp-includes/functions.php on line 3718

    Notice: The called constructor method for WP_Widget in mtheme_Recent_Posts is deprecated since version 4.3.0! Use

    __construct()

    instead. in wp-includes/functions.php on line 3718

    Notice: The called constructor method for WP_Widget in mtheme_Popular_Posts is deprecated since version 4.3.0! Use

    __construct()

    instead. in wp-includes/functions.php on line 3718

    Notice: The called constructor method for WP_Widget in mtheme_Social_Widget is deprecated since version 4.3.0! Use

    __construct()

    instead. in wp-includes/functions.php on line 3718

    Notice: The called constructor method for WP_Widget in Theme_Widget_Flickr is deprecated since version 4.3.0! Use

    __construct()

    instead. in wp-includes/functions.php on line 3718

    Notice: The called constructor method for WP_Widget in mTheme_Address_Widget is deprecated since version 4.3.0! Use

    __construct()

    instead. in wp-includes/functions.php on line 3718

    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at wp-includes/functions.php:3658) in /wp-content/plugins/fundraising/fundraiser.php on line 842

    Plugin Author Baden

    (@baden03)

    first, you should formulate your date and time correctly:

    <?php echo do_shortcode('[tminus t="2016-08-13 09:30:00" style="c-3po-mini"/]'); ?>

    second: it looks like you need to check on updates for your theme and the plugins that are throwing those errors.

    third: your fundraising plugin is throwing the following JS error:

    wdf-base.js?ver=2.6.1.3:25 Uncaught TypeError: $(...).on is not a function

    you might want to check with it’s developer for support.

    Finally: if the datepicker is working on your dev version, and NOT on the live version, then you might want to check your JS console for errors when at Dashboard > Appearance > Widgets

    Let us know how it goes.

    Thread Starter Starhorsepax2

    (@starhorsepax2)

    Oops. Now I know why it was not formulated the way you just showed. Now its doing what it did not he development site. It shows a minus before each number and has totally stopped counting down. ??

    changing 9-30 to 9:30:00 breaks it. So does 9-30-00

    I’ve changed it back. ??

    but here it is on test version with a minus in front of all numbers just like that.

    Oddly enough JS console shows nothing. No errors at all in Firefox but in Chrome:

    Uncaught TypeError: Cannot read property ‘inline’ of nulle @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,jquery-ui-widget,jquery-ui-position,wp-poi…:336dispatch @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=39cc145…:3r.handle @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=39cc145…:3

    Plugin Author Baden

    (@baden03)

    according to the page source the time being targeted on /wptest is:

    $('#7873-dashboard').tminusCountDown({
    			targetDate: {
    				'day': 	08,
    				'month': 08,
    				'year': 2015,
    				'hour': 09,
    				'min': 	00,
    				'sec': 	00,
    				'localtime': '8/4/2016 19:10:19',
    			},

    what is the exact code you are using for this?

    Thread Starter Starhorsepax2

    (@starhorsepax2)

    The time might be off but its the format you used….its changed from earlier when I changed it to test before posting. I think it was caching or something. Now it just says 0 on everything on that one.

    No idea why its showing differently in the widget than from the shortcode one.

    Plugin Author Baden

    (@baden03)

    are you using a caching plugin?
    what happens when you de-activate it?

    Plugin Author Baden

    (@baden03)

    It looks like you have the plugin working again on the home page
    however, it is counting down to 09:00 and not 09:30 as you mentioned above.

    Any luck sussing out the issue with the datepicker?

    Thread Starter Starhorsepax2

    (@starhorsepax2)

    :/ I have it set to 9:30 or rather 9-30 since the former doesn’t work in the php. Could it have anything to do with how this : has to be changed into this – to get it to work be interfering?

    No caching at all.

    For some odd reason the calendar picker thing isn’t imitating a time machine today.

    Plugin Author Baden

    (@baden03)

    the dash (-) is valid to separate year from month from day, while the colon (:) is used to separate hours from minutes from seconds.

    what exactly happens when you formulate the date and time to ISO standards?

    you said:

    changing 9-30 to 9:30:00 breaks it

    beaks, exactly how?

    Plugin Author Baden

    (@baden03)

    Issue marked as resolved due to lack of participation.

    Thread Starter Starhorsepax2

    (@starhorsepax2)

    ?? Sorry. Crisis came up and by the time I returned it was too late. The once a year event was over.
    At least now I have until next year to figure it out.
    Thanks for the assistance.

    Plugin Author Baden

    (@baden03)

    alright, well… we are here to help, but it must be something quite simple.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘times not matching up’ is closed to new replies.