Skip to:
Content
Pages
Categories
Search
Top
Bottom

strtotime vs date_default_timezone_set


  • 5195059
    Inactive

    Hi everyone!

    First, i’m a newbie to PHP and buddypress so…

    I just updated Buddypress to 1.1.2 and i get this error …

    Warning: strtotime() [function.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 ‘America/New_York’ for ‘EDT/-4.0/DST’ instead in /home/tonreseau/domains/tonreseau.ca/public_html/beta/wp-content/plugins/buddypress/bp-core.php on line 1364

    Do I have to change it manually… ?

    Thanks in advance,

    dlpress

    PHP Version 5.3.0

Viewing 1 replies (of 1 total)

  • 5195059
    Inactive

    RESOLVED :

    Here’s the answer : date_default_timezone_set(‘UTC’); in wp-includes/functions.php before the first function.

Viewing 1 replies (of 1 total)
  • The topic ‘strtotime vs date_default_timezone_set’ is closed to new replies.
Skip to toolbar