Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid post type "pages" #87

Open
lucasgustavodiaz opened this issue Apr 24, 2024 · 6 comments
Open

Invalid post type "pages" #87

lucasgustavodiaz opened this issue Apr 24, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@lucasgustavodiaz
Copy link

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

@Renesauve Renesauve added the need more info Issue needs more info label Apr 24, 2024
@CalebBarnes
Copy link
Owner

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
Copy link
Author

Thanks @CalebBarnes,

I found the problem in the username on WP_APPLICATION_PASSWORD variable

Already solved

Greetings!

@lucasgustavodiaz
Copy link
Author

Fixed

@CalebBarnes
Copy link
Owner

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

@lucasgustavodiaz
Copy link
Author

Exactly the error was in the username of the variable WP_APPLICATION_PASSWORD

@CalebBarnes
Copy link
Owner

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.

@CalebBarnes CalebBarnes reopened this Apr 25, 2024
@CalebBarnes CalebBarnes added enhancement New feature or request and removed need more info Issue needs more info labels Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants