WordPress.org

Support

Support » Plugins and Hacks » Outdated Post Notice » Fatal error: Call to undefined method DateTime::diff()

Fatal error: Call to undefined method DateTime::diff()

Viewing 1 replies (of 1 total)
  • Plugin Author Firdaus Zahari

    @fsylum

    Hi,

    This error is due to old PHP version, I supposed I can add validation before plugin activation.

    Do you have option to upgrade your PHP installation? Else, I will need to find a workaround to calculate the date differences, which might be slightly less accurate than the existing method.

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error: Call to undefined method DateTime::diff()’ is closed to new replies.
Skip to toolbar