Title: Install
Last modified: March 9, 2021

---

# Install

 *  [Safety13](https://wordpress.org/support/users/safety13/)
 * (@safety13)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/install-39/)
 * Appears to be a nice little plugin.
 * There’s a code error on line 101 of the auto-post-expiration.php file that triggers
   a fatal error.
 * //require_once options file
    require_once( AUTO_POST_EXP_DIR . ‘\auto-post-expire-
   options.php’);
 * changed the \ to / to make it work.
 * //require_once options file
    require_once( AUTO_POST_EXP_DIR . ‘/auto-post-expire-
   options.php’);

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Pieterjan Deneys](https://wordpress.org/support/users/nekojonez/)
 * (@nekojonez)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/install-39/#post-14355297)
 * [@viitorcloud](https://wordpress.org/support/users/viitorcloud/) Maybe you should
   fix this…
 *  [Pieterjan Deneys](https://wordpress.org/support/users/nekojonez/)
 * (@nekojonez)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/install-39/#post-14355312)
 * [@safety13](https://wordpress.org/support/users/safety13/) I contacted the dev
   via Slack.
 *  [mickna](https://wordpress.org/support/users/mickna/)
 * (@mickna)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/install-39/#post-14383870)
 * Confirmation.
    Still the same error.
 * Thank you [@safety13](https://wordpress.org/support/users/safety13/). The slash
   seams really the problem.
 *  [mickna](https://wordpress.org/support/users/mickna/)
 * (@mickna)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/install-39/#post-14383878)
 * Next error in post view:
    “Notice: date_default_timezone_set(): Timezone ID ”
   is invalid in /www/htdocs/xxx/xxx/wp-content/plugins/auto-post-expiration/auto-
   post-expire-options.php on line 26″
 * I feel, this plugin should not shared.
 *  [mickna](https://wordpress.org/support/users/mickna/)
 * (@mickna)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/install-39/#post-14383966)
 * If you set your time zone in WP-Settings as a value (e.g. UTC +1h) you receive
   this error, because get_option(‘timezone_string’); in line 24 above will be a
   empty string.
    If you set your time zone as a city get_option(‘timezone_string’);
   will throw out a correct time zone as a string.
 *  Plugin Author [ViitorCloud Technologies Pvt Ltd](https://wordpress.org/support/users/viitorcloudvc/)
 * (@viitorcloudvc)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/install-39/#post-14865646)
 * Hi [@safety13](https://wordpress.org/support/users/safety13/) ,
 * Thank you for your valuable input. The plugin is updated with the latest code
   and replaced “\” with “/” for file require_once.
 * //require_once options file
    require_once( AUTO_POST_EXP_DIR . ‘/auto-post-expire-
   options.php’);

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Install’ is closed to new replies.

 * ![](https://ps.w.org/auto-post-expiration/assets/icon-256x256.png?rev=3093054)
 * [Auto Post Expiration](https://wordpress.org/plugins/auto-post-expiration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/auto-post-expiration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/auto-post-expiration/)
 * [Active Topics](https://wordpress.org/support/plugin/auto-post-expiration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/auto-post-expiration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/auto-post-expiration/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [ViitorCloud Technologies Pvt Ltd](https://wordpress.org/support/users/viitorcloudvc/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/install-39/#post-14865646)
 * Status: not resolved