JonathanCox
Member
Posted 2 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
Kleor
Member
Plugin Author
Posted 2 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.