Title: PHP Warning
Last modified: November 1, 2021

---

# PHP Warning

 *  Resolved [aleksiaaltonen](https://wordpress.org/support/users/aleksiaaltonen/)
 * (@aleksiaaltonen)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/php-warning-318/)
 * Hi,
    in addition to the bug where posts get an expiration date by default, and
   that the GMT times are mismatched (in single edit vs posts listing view in admin),
   we have also noticed a php warning:
 * PHP Warning: Use of undefined constant expireType – assumed ‘expireType’ (this
   will throw an Error in a future version of PHP) in /data/wordpress/htdocs/wp-
   content/plugins/post-expirator/post-expirator.php on line 617
 * This probably isn’t causing any issues yet but just wanted to let you know.
 * Also, findings on the default expire date that is set:
    * the default expiry 
   date is visible and ticked only in posts listing, this is not visible in the 
   expiry settings when editing a single post * the date is the update/publish date
   in GMT 0
 * Looking forward to the update fixing these, thank you!

Viewing 1 replies (of 1 total)

 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/php-warning-318/#post-15026247)
 * Thanks for reporting those [@aleksiaaltonen](https://wordpress.org/support/users/aleksiaaltonen/)
 * If you have a series of issues, please consider adding them to Github:
    [https://github.com/publishpress/PublishPress-Future/issues/172](https://github.com/publishpress/PublishPress-Future/issues/172)
   [https://github.com/publishpress/PublishPress-Future/issues/134](https://github.com/publishpress/PublishPress-Future/issues/134)
   [https://github.com/publishpress/PublishPress-Future/issues/168](https://github.com/publishpress/PublishPress-Future/issues/168)

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning’ is closed to new replies.

 * ![](https://ps.w.org/post-expirator/assets/icon-256x256.png?rev=3569472)
 * [Schedule Post Changes With PublishPress Future: Unpublish, Delete, Change Status, Trash, Change Categories](https://wordpress.org/plugins/post-expirator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-expirator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-expirator/)
 * [Active Topics](https://wordpress.org/support/plugin/post-expirator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-expirator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-expirator/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/php-warning-318/#post-15026247)
 * Status: resolved