Hi,
I have a getsimple 3.3.7 installation, previously it was installed in vestacp using centos 6, now I installed vestacp in CENTOS 7 X86_64 and I noticed that since I installed it in the new operating system I have the errorlog.txt in /data/other/logs which has become 600MB in a few days,
The repeted error is the following:
PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/admin/web/mysite.tld/public_html/plugins/news_manager/inc/functions.php on line 25
Line 25 in /home/admin/web/mysite.tld/public_html/plugins/news_manager/inc/functions.php is the following:
if ($all || $item->private != 'Y' && strtotime($item->date) < $now)
I tried to change this line by placing my UTC here and there but the error still remain.
Does anybody knows how to modify that line?
I thank you in advance
P.S. newsmanager version is 3.2.2
I have a getsimple 3.3.7 installation, previously it was installed in vestacp using centos 6, now I installed vestacp in CENTOS 7 X86_64 and I noticed that since I installed it in the new operating system I have the errorlog.txt in /data/other/logs which has become 600MB in a few days,
The repeted error is the following:
PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/admin/web/mysite.tld/public_html/plugins/news_manager/inc/functions.php on line 25
Line 25 in /home/admin/web/mysite.tld/public_html/plugins/news_manager/inc/functions.php is the following:
if ($all || $item->private != 'Y' && strtotime($item->date) < $now)
I tried to change this line by placing my UTC here and there but the error still remain.
Does anybody knows how to modify that line?
I thank you in advance
P.S. newsmanager version is 3.2.2