# SOLVED: Invalid Post Type

**URL:** <https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859>\
**Category:** Bugs\
**Created:** [July 5, 2022, 7:36am UTC](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859 "2022-07-05T07:36:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexa](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/alexa/32/1408_2.png) [@Alexa](https://forum.bricksbuilder.io/u/Alexa)\
**Post date:** [July 5, 2022, 7:36am UTC](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859/1 "2022-07-05T07:36:34Z")

</div>

**Bricks Version** : 1.5 beta / 1.4.0.2

I updated to the 1.5 beta and also updated wordpress to version 6. When I try to open bricks I get the following error: “Invalid post type.”

Also after downgrading to 1.4.0.2 again bricks gives me now the same error.

PS: Flushing permalinks does not help.

---

<div class="post-metadata">

**Author:** ![omega](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/o/a6a055/32.png) [@omega](https://forum.bricksbuilder.io/u/omega)\
**Post date:** [July 5, 2022, 7:54am UTC](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859/2 "2022-07-05T07:54:46Z")

</div>

Try flushing the permalinks and rewrite rules once again?

---

<div class="post-metadata">

**Author:** ![Alexa](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/alexa/32/1408_2.png) [@Alexa](https://forum.bricksbuilder.io/u/Alexa)\
**Post date:** [July 5, 2022, 8:04am UTC](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859/3 "2022-07-05T08:04:00Z")

</div>

@omega believe me, I did this a hundred times. But just for you 🫵 I did it another 10 times now… still not working.

---

<div class="post-metadata">

**Author:** ![g97iulio](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/g/54ee81/32.png) [@g97iulio](https://forum.bricksbuilder.io/u/g97iulio)\
**Post date:** [July 5, 2022, 8:46am UTC](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859/4 "2022-07-05T08:46:27Z")

</div>

I have the Same problem

---

<div class="post-metadata">

**Author:** ![Alexa](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/alexa/32/1408_2.png) [@Alexa](https://forum.bricksbuilder.io/u/Alexa)\
**Post date:** [July 5, 2022, 9:47am UTC](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859/5 "2022-07-05T09:47:02Z")

</div>

Did you also flush the permalinks? And did you also downgrade to 1.4.0.2 again?

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [July 5, 2022, 3:44pm UTC](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859/6 "2022-07-05T15:44:36Z")

</div>

Hi Alexa & Giulio,  
have you tried removing Bricks completely, activating another theme, flushing permalinks, and then reinstalling it afterward?

Also, deactivate any plugins that may be installed.

Alternatively, you can send temporary login credentials and a link to this thread to [help@bricksbuilder.io](mailto:help@bricksbuilder.io) using the email address you used during the purchase and we’ll have a look 🙂

Best regards,  
timmse

---

<div class="post-metadata">

**Author:** ![Alexa](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/alexa/32/1408_2.png) [@Alexa](https://forum.bricksbuilder.io/u/Alexa)\
**Post date:** [July 6, 2022, 8:47am UTC](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859/7 "2022-07-06T08:47:05Z")

</div>

Hi @timmse,  
After playing around for a while I found that it was related to some plugins. It took me some time to find out because reloading the page didn´t help to find the cause - since I was only reloading the error page. Beginners mistake…

---

<div class="post-metadata">

**Author:** ![Mehdimoradi](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/mehdimoradi/32/2401_2.png) [@Mehdimoradi](https://forum.bricksbuilder.io/u/Mehdimoradi)\
**Post date:** [July 6, 2022, 10:23am UTC](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859/8 "2022-07-06T10:23:08Z")

</div>

Hi, I have the same issue on of my websites, which plugin cause the error?

---

<div class="post-metadata">

**Author:** ![Alexa](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/alexa/32/1408_2.png) [@Alexa](https://forum.bricksbuilder.io/u/Alexa)\
**Post date:** [July 7, 2022, 9:06am UTC](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859/9 "2022-07-07T09:06:50Z")

</div>

Hello,  
In my case it was the “Filter Everything” Plugin by Andrii Stepasiuk. With the newest Update of the plugin it now seems to work.

---

<div class="post-metadata">

**Author:** ![Mehdimoradi](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/mehdimoradi/32/2401_2.png) [@Mehdimoradi](https://forum.bricksbuilder.io/u/Mehdimoradi)\
**Post date:** [July 7, 2022, 1:31pm UTC](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859/10 "2022-07-07T13:31:24Z")

</div>

thank u, i was facing same issue with different plugin

---

<div class="post-metadata">

**Author:** ![Chris22](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/c/7feea3/32.png) [@Chris22](https://forum.bricksbuilder.io/u/Chris22)\
**Post date:** [January 23, 2023, 9:19am UTC](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859/11 "2023-01-23T09:19:48Z")

</div>

I am currently on v1.6.2 and got the same issue with my templates. But even disabling ALL plugins does not solve the problem.

I also tried exporting all the templates and importing them again, but that didn’t solve the problem either.

I can still use those templates, but I can’t edit them anymore.

Does anyone have any ideas?

With kind regards,  
Chris

---

<div class="post-metadata">

**Author:** ![Chris22](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/c/7feea3/32.png) [@Chris22](https://forum.bricksbuilder.io/u/Chris22)\
**Post date:** [January 23, 2023, 8:41pm UTC](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859/12 "2023-01-23T20:41:12Z")

</div>

I have made one step further. If I change the status of the template to “Draft”, I can edit it. After the edits, I have to set it back to “Published”.

This behaviour is new. It was different before and it is different on another website.

Any help is very much appreciated.

Best regards,  
Chris

---

<div class="post-metadata">

**Author:** ![itchycode](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/itchycode/32/4542_2.png) [@itchycode](https://forum.bricksbuilder.io/u/itchycode)\
**Post date:** [January 24, 2023, 4:05pm UTC](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859/13 "2023-01-24T16:05:19Z")

</div>

Hi @Chris22 ,

Could you please check your server rewrite rules like .htaccess or nginx settings?  
Maybe resaving your permalink settings will resolve the issue?  
Otherwise, you could send your website temp admin access to [help@bricksbuilder.io](mailto:help@bricksbuilder.io) so we could log in and check on it.  
Thanks.

Regards,  
Jenn

---

<div class="post-metadata">

**Author:** ![dan](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/d/eada6e/32.png) [@dan](https://forum.bricksbuilder.io/u/dan)\
**Post date:** [January 24, 2023, 4:57pm UTC](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859/14 "2023-01-24T16:57:38Z")

</div>

Also getting this error on 1.6.2 with CPT’s.

Tried disabling all plugins, inc metabox and reactivating, and flushing/changing/resaving permalinks.

Again, if i mark as draft I can edit the post/page etc but as soon as its published i get the error. Frontend 404’s when post/page is published also but fine in draft frontend preview

@itchycode what nginx settings should we be looking out for or checking?

EDIT - Also on 1.6.1, 1.6 & 1.5.7 - so either serious bug or site errors somewhere.

EDIT 2 - worked out that my errors could be due to trying to edit a CPT child - new bug report here - [MetaBox CPT hierarchical children Invalid Post Type](https://forum.bricksbuilder.io/t/metabox-cpt-hierarchical-children-invalid-post-type/9550)

---

<div class="post-metadata">

**Author:** ![Chris22](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/c/7feea3/32.png) [@Chris22](https://forum.bricksbuilder.io/u/Chris22)\
**Post date:** [January 25, 2023, 1:26pm UTC](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859/15 "2023-01-25T13:26:14Z")

</div>

@Jenn, thank you for taking on this problem - and solving it.

---

<div class="post-metadata">

**Author:** ![nightowl](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/n/d2c977/32.png) [@nightowl](https://forum.bricksbuilder.io/u/nightowl)\
**Post date:** [February 20, 2023, 7:14am UTC](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859/16 "2023-02-20T07:14:22Z")

</div>

Hi Jenn,  
I am experiencing this issue as well.

The .htaccess/nginx settings you mention are a bit above my paygrade.  
I have tried resaving the Permalink settings numerous times with no luck.

Any other suggestions?

---

<div class="post-metadata">

**Author:** ![stabilo](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/s/8797f3/32.png) [@stabilo](https://forum.bricksbuilder.io/u/stabilo)\
**Post date:** [March 15, 2023, 7:37pm UTC](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859/17 "2023-03-15T19:37:59Z")

</div>

I have the same problem. Has anyone got the problem solved? I can confirm that I can edit the template in draft mode. Once I publish the template, I no longer have access to it.

---

<div class="post-metadata">

**Author:** ![Chris22](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/c/7feea3/32.png) [@Chris22](https://forum.bricksbuilder.io/u/Chris22)\
**Post date:** [March 16, 2023, 6:49am UTC](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859/18 "2023-03-16T06:49:23Z")

</div>

No, I still have the same problem. It miraculously disappeared for some time, but it returned.

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [March 16, 2023, 9:27am UTC](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859/19 "2023-03-16T09:27:20Z")

</div>

Hi @stabilo & @nightowl ,  
Would you be so kind as to send temporary login credentials and a link to this thread to [help@bricksbuilder.io](mailto:help@bricksbuilder.io) using the email address you used during the purchase?

---

<div class="post-metadata">

**Author:** ![Chris22](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/c/7feea3/32.png) [@Chris22](https://forum.bricksbuilder.io/u/Chris22)\
**Post date:** [March 16, 2023, 4:12pm UTC](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859/20 "2023-03-16T16:12:32Z")

</div>

Hi @timmse,  
It would be great if you could let us know what to do if you find something in the 2 installations.

[Next page](https://forum.bricksbuilder.io/t/solved-invalid-post-type/3859.md?page=2)
