Title: WordPress 4.7 Issues
Last modified: December 8, 2016

---

# WordPress 4.7 Issues

 *  [ashleyelainewright](https://wordpress.org/support/users/ashleyelainewright/)
 * (@ashleyelainewright)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wordpress-4-7-issues/)
 * I was using this plugin and loving it until I recently updated my site to WordPress
   4.7 and now things are not working as expected. I know it isn’t supported for
   4.7 yet, so mostly I’m just wondering if anyone is having similar issues and 
   if there is or will be a solution in the future.
 * The main issue I am having is when I go to create a new post (custom post type)
   that is using a CPT-onomy, there are already taxonomies checked (I’m using the
   checkbox format so you can select multiple taxonomies for each post). Even if
   I deselect the taxonomies and save the post, they still remain checked. It’s 
   not all of them either, only the top 6-7.
 * I know this could be a conflict with my theme, however I did switch to the 2016
   theme and deactivate all my plugins except this one and Advanced Custom Fields
   and it is still happening…
 * If anybody has any ideas of how to resolve or is having similar issues, please
   let me know. Thanks!

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

 *  [dornstudio](https://wordpress.org/support/users/dornstudio/)
 * (@dornstudio)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wordpress-4-7-issues/#post-8544087)
 * Hi Ashley,
 * EDIT: After more fiddling what I posted in terms of code doesn’t actually work.
 * I’m also having this issue in 4.7. What seems to be happening is that wp-admin
   is erroneously setting the array of selected CPT-Onomies via the `$selected_cats`
   variable.
 * I did some tests (plain vanilla WP install, checked the database after saving
   a post) and: CPT-Onomies are correctly attaching to the post (even though it 
   doesn’t look like it in the meta box).
 * After some digging I found that `~/wp-content/plugins/cpt-onomies/admin.php` 
   appears causing this, specifically the `$selected_cats` variable (~ Line 1370).
   For me, when I look what is actually contained in that variable, I see an array
   that is the size of all of my CPT-onomies with the same ID repeated>
 * I will loop back here if I find anything else.
    -  This reply was modified 9 years, 6 months ago by [dornstudio](https://wordpress.org/support/users/dornstudio/).
    -  This reply was modified 9 years, 6 months ago by [dornstudio](https://wordpress.org/support/users/dornstudio/).
 *  [dornstudio](https://wordpress.org/support/users/dornstudio/)
 * (@dornstudio)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wordpress-4-7-issues/#post-8544238)
 * OK, so…fiddled more.
 * After removing the taxnomies that I set (attached to the Custom Post type which
   was acting as my CPT-onomy) the select list worked again.
 * So, what I did was add my [custom taxonomy support via hook to the custom post type](https://pippinsplugins.com/add-already-registered-taxonomy/)
   which was set as my CPT-onomy and things are working again:
 *     ```
       add_action('init','add_categories_to_cpt');
       function add_categories_to_cpt(){
           register_taxonomy_for_object_type('category', 'post_type_name');
       }
       ```
   
 * Nevermind, that didn’t work either :/
    -  This reply was modified 9 years, 6 months ago by [dornstudio](https://wordpress.org/support/users/dornstudio/).
 *  [WisTex](https://wordpress.org/support/users/wistex/)
 * (@wistex)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wordpress-4-7-issues/#post-8546189)
 * For me, the issue appears to be related to trying to load the posts using WP_Query.
   I run out of memory every time it tries to load the list of posts. Perhaps it
   has something to do with the query or the data structure?
 * My original support post:
    [https://wordpress.org/support/topic/after-update-to-4-7-running-out-of-memory-on-get_posts-new-wp_query/](https://wordpress.org/support/topic/after-update-to-4-7-running-out-of-memory-on-get_posts-new-wp_query/)
 *  [Wiseguyver](https://wordpress.org/support/users/wiseguyver/)
 * (@wiseguyver)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wordpress-4-7-issues/#post-8547829)
 * Same issue, can’t launch my site…. 🙁
 *  [Wiseguyver](https://wordpress.org/support/users/wiseguyver/)
 * (@wiseguyver)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wordpress-4-7-issues/#post-8551979)
 * By the moment we’ll get the fix, maybe it would be useful to add a global checkbox
   to select/unselect all taxonomies, so unwanted taxonomies could be deactivated
   before saving wanted ones.
 *  [dkristoffersson](https://wordpress.org/support/users/dkristoffersson/)
 * (@dkristoffersson)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wordpress-4-7-issues/#post-8565229)
 * Here’s a solution to the thing about too many taxonomies getting checked: [https://github.com/bamadesigner/cpt-onomies/pull/19](https://github.com/bamadesigner/cpt-onomies/pull/19)
 * There may be other bug fixes to find in the other pull requests: [https://github.com/bamadesigner/cpt-onomies/pulls](https://github.com/bamadesigner/cpt-onomies/pulls)
 *  [Wiseguyver](https://wordpress.org/support/users/wiseguyver/)
 * (@wiseguyver)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wordpress-4-7-issues/#post-8567370)
 * Great [@dkristoffersson](https://wordpress.org/support/users/dkristoffersson/)!
   It works except for the Most Used tab (minor bug anyway).
 *  [mike.chiv](https://wordpress.org/support/users/mikechiv/)
 * (@mikechiv)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/wordpress-4-7-issues/#post-8616745)
 * Anyone heard any more about when this issue is likely to get fixed? I noticed
   that the correct taxonomy terms are selected on the front end provided that _every
   time_ you update the post you remember to uncheck the ones you don’t want, but
   that’s hardly ideal…
 *  [Robert S.](https://wordpress.org/support/users/robsat91/)
 * (@robsat91)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/wordpress-4-7-issues/#post-8641066)
 * Same problem here :S
    Bump!
 *  [Wiseguyver](https://wordpress.org/support/users/wiseguyver/)
 * (@wiseguyver)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wordpress-4-7-issues/#post-8725697)
 * [@mikechiv](https://wordpress.org/support/users/mikechiv/) [@robsat91](https://wordpress.org/support/users/robsat91/)
   did you try [@dkristoffersson](https://wordpress.org/support/users/dkristoffersson/)’
   s solution? It did work to me.
 *  [Robert S.](https://wordpress.org/support/users/robsat91/)
 * (@robsat91)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wordpress-4-7-issues/#post-8726858)
 * It did work, but i would really like to use a unmodified version of the plugin.

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

The topic ‘WordPress 4.7 Issues’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cpt-onomies_f2f2f2.svg)
 * [CPT-onomies: Using Custom Post Types as Taxonomies](https://wordpress.org/plugins/cpt-onomies/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cpt-onomies/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cpt-onomies/)
 * [Active Topics](https://wordpress.org/support/plugin/cpt-onomies/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cpt-onomies/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cpt-onomies/reviews/)

## Tags

 * [wordpress 4.7](https://wordpress.org/support/topic-tag/wordpress-4-7/)

 * 11 replies
 * 7 participants
 * Last reply from: [Robert S.](https://wordpress.org/support/users/robsat91/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/wordpress-4-7-issues/#post-8726858)
 * Status: not resolved