CalebBarnes / nextwp

http://nextwp.org/
8 stars 0 forks source link

Invalid post type "pages" #87

Open lucasgustavodiaz opened 5 months ago

lucasgustavodiaz commented 5 months ago

Hello, good evening, would someone be so kind to help with this error in the frontend, I'm using localWP. The environment variables are configured correctly in the env.local file and in the wordpress plugins. Thx

Captura de pantalla 2024-04-23 200410

CalebBarnes commented 5 months ago

Hey @lucasgustavodiaz

I'd love to help out but will need some more info about your environment.

Feel free to join the Discord server and we can figure out a time to either jump on a call or you could export your site from LocalWP and send it over!

lucasgustavodiaz commented 5 months ago

Thanks @CalebBarnes,

I found the problem in the username on WP_APPLICATION_PASSWORD variable

Already solved

Greetings!

lucasgustavodiaz commented 5 months ago

Fixed

CalebBarnes commented 5 months ago

Interesting, so the WP_APPLICATION_PASSWORD was not correct? Maybe we can show a better error message here.

lucasgustavodiaz commented 5 months ago

Exactly the error was in the username of the variable WP_APPLICATION_PASSWORD

CalebBarnes commented 5 months ago

I'm going to reopen this issue until we add a better error message here!

It should say something like unauthorized instead of invalid post type.