WordPress.org

Ready to get started?Download WordPress

Forums

WP DS FAQ Plus
Call to undefined method DateTime::setTimestamp() (2 posts)

  1. chazer
    Member
    Posted 1 year ago #

    Please fix code in wp-ds-faq.php on line 1285:

    if (version_compare(PHP_VERSION, '5.3.0') < 0){
        $dt = new DateTime("@".(strtotime($date) + 3600 * ($timezone_offset + date('I',$date))));
      }else{
        $dt->setTimestamp(strtotime($date) + 3600 * ($timezone_offset + date('I',$date)));
      }

    http://wordpress.org/extend/plugins/wp-ds-faq-plus/

  2. kimipooh
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you for your indication.
    I fixed in version 1.0.17 (released).
    Please update new version and try it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.