Title: Invalid post type.
Last modified: June 23, 2017

---

# Invalid post type.

 *  Resolved [andrew](https://wordpress.org/support/users/adivirus/)
 * (@adivirus)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/invalid-post-type-7/)
 * Hello, i’m having a problem in wp-admin/edit.php it shows me a screen with Invalid
   post type. also when trying to add new post i can’t see the publish button and
   other options i had before. i tried to deactivate plugins but still the same,
   i have php 7.0.19 and apache 2.4.26. the frontend of the site works fine, also
   i can’t see any errors in error log. i think this issue started after upgrade
   to apache 2.4.26 from 2.4.25 .. but i’m not sure this can be the problem. i also
   tried with php 5.6.30 but that message still shows.
    Any advice? thank you.

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

 *  [wbcomdesigns](https://wordpress.org/support/users/wbcomdesigns/)
 * (@wbcomdesigns)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/invalid-post-type-7/#post-9254765)
 * Hi [@adivirus](https://wordpress.org/support/users/adivirus/)
 * Have you tried switching to default theme and checked if you can reproduce the
   issue?
 * Thanks.
 *  Thread Starter [andrew](https://wordpress.org/support/users/adivirus/)
 * (@adivirus)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/invalid-post-type-7/#post-9254825)
 * Hi [@wbcomdesigns](https://wordpress.org/support/users/wbcomdesigns/)
    I tried
   that too.. but does not fix the issue. Thanks
 *  Thread Starter [andrew](https://wordpress.org/support/users/adivirus/)
 * (@adivirus)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/invalid-post-type-7/#post-9256575)
 * i also installed a new fresh wordpress test site and i get the same error, so
   it must be related to server php.. or apache somehow 😐
 *  Thread Starter [andrew](https://wordpress.org/support/users/adivirus/)
 * (@adivirus)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/invalid-post-type-7/#post-9256724)
 * i recompiled apache and works now 🙂
 *  [jvandenbroek](https://wordpress.org/support/users/jvandenbroek/)
 * (@jvandenbroek)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/invalid-post-type-7/#post-9257840)
 * [@andrew](https://wordpress.org/support/users/andrew/) Thank you, recompiling
   did the job here as well!
 *  [lprent](https://wordpress.org/support/users/lprent/)
 * (@lprent)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/invalid-post-type-7/#post-9270014)
 * Got the same issue after an update off [https://launchpad.net/~ondrej/+archive/ubuntu/apache2?field.series_filter=zesty](https://launchpad.net/~ondrej/+archive/ubuntu/apache2?field.series_filter=zesty)
 * Apache2 updated from 2.4.25 to 2.4.26 and I get “Invalid post type” when listing
   posts. Presumably because the mod_rewrite has changed.
 * I’ll try a recompile.
 *  [lprent](https://wordpress.org/support/users/lprent/)
 * (@lprent)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/invalid-post-type-7/#post-9270063)
 * Fixed it using a suggestion from [https://stackoverflow.com/posts/44657409/revisions](https://stackoverflow.com/posts/44657409/revisions)
 * Added “ProxyFCGIBackendType GENERIC” to top of etc/sites-available file
 * [https://httpd.apache.org/docs/2.4/en/mod/mod_proxy_fcgi.html#proxyfcgibackendtype](https://httpd.apache.org/docs/2.4/en/mod/mod_proxy_fcgi.html#proxyfcgibackendtype)
 *  [jvandenbroek](https://wordpress.org/support/users/jvandenbroek/)
 * (@jvandenbroek)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/invalid-post-type-7/#post-9270158)
 * @Iprent , yes you’re correct, I figured that out later, forgot to mention this
   here. Unfortunately this generic backend setting broke a site which uses fairly
   complex rewrites, so my solution for now was just reverting to an older Apache
   version until that’s sorted out.
    -  This reply was modified 8 years, 11 months ago by [jvandenbroek](https://wordpress.org/support/users/jvandenbroek/).

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

The topic ‘Invalid post type.’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 4 participants
 * Last reply from: [jvandenbroek](https://wordpress.org/support/users/jvandenbroek/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/invalid-post-type-7/#post-9270158)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
