Title: Adding post types after plugin activation causes errors
Last modified: August 30, 2016

---

# Adding post types after plugin activation causes errors

 *  [iltdevunit](https://wordpress.org/support/users/iltdevunit/)
 * (@iltdevunit)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/adding-post-types-after-plugin-activation-causes-errors/)
 * My install had a couple of existing custom post types before installing the address
   geocoder plugin.
 * I just added another custom post type called ‘www_events’.
    When I go to the ‘
   add new’ event screen, I get this error:
 * `Notice: Undefined index: www_events in C:\wordpress\wp-content\plugins\address-
   geocoder\address-geocoder.php on line 111 Notice: Undefined index: www_events
   in C:\wordpress\wp-content\plugins\address-geocoder\address-geocoder.php on line
   99`
 * The geocoder metabox is added to the events edit page, even though I have not
   checked the option to do so in geocoder’s settings page.
 * If I go to the settings page, the www_events post type is not listed.
 * [https://wordpress.org/plugins/address-geocoder/](https://wordpress.org/plugins/address-geocoder/)

The topic ‘Adding post types after plugin activation causes errors’ is closed to
new replies.

 * ![](https://ps.w.org/address-geocoder/assets/icon-256x256.png?rev=1400499)
 * [Address Geocoder](https://wordpress.org/plugins/address-geocoder/)
 * [Support Threads](https://wordpress.org/support/plugin/address-geocoder/)
 * [Active Topics](https://wordpress.org/support/plugin/address-geocoder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/address-geocoder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/address-geocoder/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [iltdevunit](https://wordpress.org/support/users/iltdevunit/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/adding-post-types-after-plugin-activation-causes-errors/)
 * Status: not resolved