• Inherited Hosted WP site running WooCommerce. WP 6.5.3 running Storefront Child Theme and WC 8.8.3.

    Installed and Active plugins:

    • WooCommerce 8.8.3
    • Woo Product Add-ons 6.8.3
    • WC Shipping & Tax 2.5.7
    • WC Square 4.61.
    • WC USPS Shipping 4.8.4
    • WC Update Manager 1.0.2

    Installed but not active are Akismet Anti-spam and Preview Emails for WC

    Trying to create an application password under the users / profiles section. Once I go to create it the page just displays a white box outlined in read, no password information is displayed.

    I’ve read some things pointing to a couple different plugins and those plugins are not installed. I am trying to avoid stopping all plugins while I do this as it is an active store front and would not like to take it down. Is there a way to find out exactly what is triggering this to fail?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Have you checked the error logs, and is there anything recorded around the time you try to create an application password?

    That said, the easiest approach is definitely to try and narrow down the issue by eliminating third-party integrations. That said, definitely agree that you should not troubleshoot this on production.

    I would set up the site locally on my computer, and then disable the plugins one by one to rule them out. Much knowledge is to be gained here: either it’s a plugin and you know what to focus on, or it’s not a plugin at all, and you can begin to look into the theme.

    Every now and then this exercise of setting up the site somewhere else will point to host-specific issue, which you can rule out if you can replicate the issue locally.

    Moderator bcworkz

    (@bcworkz)

    A variation on Ryan’s suggestion — instead of testing locally, create another WP instance on your production server for testing. If you’re used to setting up WP sites, this isn’t that difficult to do, but for even greater ease you could use a plugin such as WP Staging to create an exact clone.

    There is also a way to troubleshoot your production site by deactivating plugins and switching themes without affecting normal visitors. You can use the Health Check and Troubleshooting plugin to enter troubleshooting mode where deactivating and switching only affects your view but not other users.

    Thread Starter mountainears

    (@mountainears)

    I’m working on getting deeper access. I have another wp site I have on Godaddy and I tried installing the same plugins and it still works there, making me think it may be the theme.

    Now I’ve sidetracked myself on trying to create the application password using Powershell. I can execute a command to show the users successfully by entering in:

    curl https://sitename.com/wp-json/wp/v2/users

    and that generates the user list. So I thought I was close on being able to understand the command to create an application password that way (I’m not a coder….), I gave this a go based on what I’ve been reading around….

    curl -X POST -u adminaccount:password -H “Content-Type: application/json” -d ‘{“label”: “My
    AppPassword”}’ https://sitename.com.com/wp-json/wp/v2/users/application-passwords

    but that failed with an event not found message. If I can get the app password created this way I can skip trying to figure out what is wrong with the theme. Am I close on that command to do that?

    Your path almost looks right. According to the documentation here, you may need the user ID in the URL as well:

    POST /wp/v2/users/<user_id>/application-passwords

    Your credentials look good and the content type as well. Swap out your label for name.

    Give that a try and let us know how it goes.

    Thread Starter mountainears

    (@mountainears)

    Tried a few different variants based on this and some other readings…. all netting the same response:

    -bash: !iR!: event not found

    Trying to add the screenshot, just a minute….

    • This reply was modified 9 months, 1 week ago by mountainears.
    Thread Starter mountainears

    (@mountainears)

    Screenshot wasn’t working….here’s the different ones I tried…

    curl -X POST -u userid:password -H “Content-Type:application/json” -d ‘{“name”:testingAppPW}’ https://site.com/wp-json/wp/v2/users/application-passwords/new

    curl -X POST -u userid:password -H “Content-Type:application/json” -d ‘{“name”:testingAppPW}’ https://site.com/wp-json/wp/v2/application-passwords/new

    curl -X POST -u userid:password -H “Content-Type:application/json” -d ‘{“name”:testingAppPW}’ https://site.com/wp-json/wp/v2/application-passwords

    curl -X POST -u userid:password -H “Content-Type:application/json” -d ‘{“name”:testingAppPW}’ https://site.com/wp-json/wp/v2/users/application-passwords

    curl -X POST -u userid:password -H “Content-Type:application/json” -d ‘{“name”:testingAppPW}’ https://site.com/wp-json/wp/v2/users/userid/application-passwords

    Moderator bcworkz

    (@bcworkz)

    Trying to add the screenshot…

    FYI, we don’t host images in these forums. If you want to share a screenshot or any image, upload it to any public image sharing site (like imgur.com et al) and just provide the resulting link here.

    I don’t know enough about the API to be of much help here. Good luck…

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Application Password Blank – not showing’ is closed to new replies.