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

  • meksone

    (@meksone)


    Hi, after activating the plug in I’ve received the following message:

    Fatal error: Call to undefined method DateTime::diff() in /myhoew/myfolder/public_html/wp-content/plugins/outdated-post-notice/class/class-fs-outdated-post-notice.php on line 443

    Thank you for any suggestion.

    https://wordpress.org/plugins/outdated-post-notice/

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.