PHP Warning: strtotime()
もうひとつのPHP Warningは
PHP Warning: strtotime() [<a href='function.strtotime'>function.strtotime</a>]: 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 'Asia/Tokyo' for 'JST/9.0/no DST' instead in /var/www/html/wp-content/plugins/twitter-tools/twitter-tools.php on line 1865
でした。
対処方法は
vi /etc/php.ini
で
[Date] ; Defines the default timezone used by the date functions ;date.timezone = date.timezone = Asia/Tokyo
としました。これにより上記のエラーも出なくなりました♪


コメントはまだありません。