Title: Error when archiving
Last modified: August 22, 2016

---

# Error when archiving

 *  Resolved [dylanmac](https://wordpress.org/support/users/dylanmac/)
 * (@dylanmac)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-when-archiving/)
 * The plugin installs fine, but when I click on the archive link in posts or pages
   I always get this error:
 *     ```
       Warning: Creating default object from empty value in /homepages/45/d291575496/htdocs/wp-content/plugins/archive/archive.php on line 386
       Warning: Cannot modify header information - headers already sent by (output started at /homepages/45/d291575496/htdocs/wp-content/plugins/archive/archive.php:386) in /homepages/45/d291575496/htdocs/wp-includes/pluggable.php on line 1173
       ```
   
 * However, the post or page is successfully archived. What is causing this?
 * [https://wordpress.org/plugins/archive/](https://wordpress.org/plugins/archive/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-when-archiving/#post-5457902)
 * same issue here: [https://wordpress.org/support/topic/needs-to-be-updated-to-work-with-wp-41?replies=2#post-6392101](https://wordpress.org/support/topic/needs-to-be-updated-to-work-with-wp-41?replies=2#post-6392101)
 * I will fix this in the next view days.

Viewing 1 replies (of 1 total)

The topic ‘Error when archiving’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/archive.svg)
 * [Archive](https://wordpress.org/plugins/archive/)
 * [Support Threads](https://wordpress.org/support/plugin/archive/)
 * [Active Topics](https://wordpress.org/support/plugin/archive/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/archive/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/archive/reviews/)

## Tags

 * [empty value](https://wordpress.org/support/topic-tag/empty-value/)

 * 1 reply
 * 2 participants
 * Last reply from: [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/error-when-archiving/#post-5457902)
 * Status: resolved