Title: 1.7.2 upgrade bug
Last modified: August 30, 2016

---

# 1.7.2 upgrade bug

 *  [carriewhite](https://wordpress.org/support/users/carriewhite/)
 * (@carriewhite)
 * [11 years ago](https://wordpress.org/support/topic/172-upgrade-bug/)
 * I upgraded to 1.7.2 today and now see this error message
    Warning: Illegal offset
   type in isset or empty in /domainname/public_html/wp-content/plugins/types/embedded/
   classes/class.wpcf-post-types.php on line 90
 * [https://wordpress.org/plugins/types/](https://wordpress.org/plugins/types/)

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

 *  [Marcin Pietrzak](https://wordpress.org/support/users/iworks/)
 * (@iworks)
 * [11 years ago](https://wordpress.org/support/topic/172-upgrade-bug/#post-6262333)
 * Dear carriewhite
 * I can not reproduce, but … could you change line 90 in
 *     ```
       wp-content/plugins/types/embedded/classes/class.wpcf-post-types.php
       ```
   
 * From:
 *     ```
       if (!isset($custom_post_types[$post_type]))
       ```
   
 * To:
 *     ```
       if (empty($post_type) && !isset($custom_post_types[$post_type]))
       ```
   
 * And check this problem still exists?
 * Thank you for help.
 * Marcin
 *  [uberjuice](https://wordpress.org/support/users/uberjuice/)
 * (@uberjuice)
 * [11 years ago](https://wordpress.org/support/topic/172-upgrade-bug/#post-6262553)
 * I have this problem, after your fix it now says the error resides on line 96.
   This issue only shows when an author is logged in – not the admin

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

The topic ‘1.7.2 upgrade bug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/types_ced1d3.svg)
 * [Toolset Types - Custom Post Types, Custom Fields and Taxonomies](https://wordpress.org/plugins/types/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/types/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/types/)
 * [Active Topics](https://wordpress.org/support/plugin/types/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/types/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/types/reviews/)

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [uberjuice](https://wordpress.org/support/users/uberjuice/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/172-upgrade-bug/#post-6262553)
 * Status: not resolved