• I got this error when doing a website health check:
    critical issue: Performance

    PHP default timezone is invalid
    PHP default timezone was changed after WordPress loading by a date_default_timezone_set() function call. This interferes with correct calculations of dates and times.

    I disabled all the plugin one at a time and the problem persists until I disabled “Salah World” plugin, the error went away. From the research I did, I found out that The problem appears to be the use of the date_default_timezone_set() function which WordPress heavily recommends against using because it causes so many problems.
    How can I fix the issue? Any help would be appreciated.
    Thank you.

    • This topic was modified 2 years, 8 months ago by presswp.
    • This topic was modified 2 years, 8 months ago by presswp.
  • The topic ‘Plugin causing error: PHP default timezone is Invalid’ is closed to new replies.