Title: [Plugin: Live Countdown Timer] Broken when updating settings
Last modified: August 19, 2016

---

# [Plugin: Live Countdown Timer] Broken when updating settings

 *  Resolved [callumw](https://wordpress.org/support/users/callumw/)
 * (@callumw)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-live-countdown-timer-broken-when-updating-settings/)
 * In: Settings | Live Countdown
    I tried updating the time and text color and get
   an error message:
 * `Warning: unserialize() expects parameter 1 to be string, array given in /home/
   mydomain.com/public_html/wp-content/plugins/live-countdown-timer/live-countdown-
   timer.php on line 167`
 * It wasn’t working so I stopped/restarted the plugin and I see that the colour
   change took, but the date etc reset to defaults.
    I changed them and got the 
   same error message although it it seems to be working on my site. Don’t want 
   to touch it now in case it breaks it again 🙂
 * CW

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [tcampmany](https://wordpress.org/support/users/tcampmany/)
 * (@tcampmany)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-live-countdown-timer-broken-when-updating-settings/#post-1676998)
 * It works to me:
    [http://wordpress.org/support/topic/live-countdown-timer-fix?replies=1](http://wordpress.org/support/topic/live-countdown-timer-fix?replies=1)
 *  Plugin Author [Ciprian Turcu](https://wordpress.org/support/users/ciprian_vb/)
 * (@ciprian_vb)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-live-countdown-timer-broken-when-updating-settings/#post-1677032)
 * A new version is available. Update and let me know if you have any more issues
   with it.
    Thanks.
 *  Thread Starter [callumw](https://wordpress.org/support/users/callumw/)
 * (@callumw)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-live-countdown-timer-broken-when-updating-settings/#post-1677035)
 * It almost works.
 * I set the widget active and selected “More Options”
    Entered all the details 
   and it worked perfectly.
 * I then tried to change the widget title and got an error:
    Warning: unserialize()
   expects parameter 1 to be string, array given in /home/mydomain/public_html/wp-
   content/plugins/live-countdown-timer/live-countdown-timer.php on line 83
 * The widget which was working now shows the corrected title, but now no timer.
   Only the following error message:
    Warning: mktime() expects parameter 4 to be
   long, string given in /home/mudomain/public_html/wp-content/plugins/live-countdown-
   timer/calculateTime.php on line 7
 * And it reset all the custom options back to default
 * If I reset the “More Options” again it all shows perfectly.
    Looks like it’s 
   just changing the widget title that breaks it.
 * Hope that’s useful
    CW
 *  Plugin Author [Ciprian Turcu](https://wordpress.org/support/users/ciprian_vb/)
 * (@ciprian_vb)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-live-countdown-timer-broken-when-updating-settings/#post-1677036)
 * I’m fixing it today. Thanks
 *  [kwikone](https://wordpress.org/support/users/kwikone/)
 * (@kwikone)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-live-countdown-timer-broken-when-updating-settings/#post-1677043)
 * If you look at: [this one](http://wordpress.org/support/topic/plugin-live-countdown-timer-php-warning-and-no-timer-displayed?replies=3)
   there is the fix that works for me.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: Live Countdown Timer] Broken when updating settings’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/live-countdown-timer.svg)
 * [Live Countdown Timer](https://wordpress.org/plugins/live-countdown-timer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/live-countdown-timer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/live-countdown-timer/)
 * [Active Topics](https://wordpress.org/support/plugin/live-countdown-timer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/live-countdown-timer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/live-countdown-timer/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [kwikone](https://wordpress.org/support/users/kwikone/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-live-countdown-timer-broken-when-updating-settings/#post-1677043)
 * Status: resolved