Support » Plugin: WP DS FAQ Plus » Call to undefined method DateTime::setTimestamp()

  • chazer

    (@chazer)


    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/

Viewing 1 replies (of 1 total)
  • Plugin Author kimipooh

    (@kimipooh)

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

Viewing 1 replies (of 1 total)
  • The topic ‘Call to undefined method DateTime::setTimestamp()’ is closed to new replies.