WordPress.org

Ready to get started?Download WordPress

Forums

Easy Timer
[resolved] Fatal Error (2 posts)

  1. JonathanCox
    Member
    Posted 3 years ago #

    Woke up this morning to check my blog and had this error

    Fatal error: Call to undefined function: date_default_timezone_set() in /home/kussme/public_html/wp-content/plugins/easy-timer/easy-timer.php on line 311

    if there isnt a counter on the page, i get a similar error but in the footer.

    any help would be greatly appreciated

  2. Kleor
    Member
    Plugin Author

    Posted 3 years ago #

    I just created a new version which fixes this bug:

    Download the latest version of Easy Timer

    I have replaced this line:

    date_default_timezone_set('UTC');

    by:

    if (function_exists('date_default_timezone_set')) { date_default_timezone_set('UTC'); }

    In fact, it's not a bug but a problem of server configuration. Easy Timer requires at least PHP 5.1. Read the FAQ of your host to know how to work with at least PHP 5.1.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags