Support » Plugin: ImageMagick Sharpen Resized Images » Time zone setting causes check image to break

  • Resolved avishaiw


    When a default time zone isn’t selected, the PNG data is returned with this prepended, causing it to fail:

    <br />
    <b>Warning</b>:  date(): 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 <b>wp-content/plugins/imagemagick-sharpen-resized-images/check.php</b> on line <b>30</b><br />

    My solution was to add date_default_timezone_set('America/New_York'); at the top of check.php

    • This topic was modified 3 years, 2 months ago by avishaiw.
  • The topic ‘Time zone setting causes check image to break’ is closed to new replies.