• I am trying to login to these sites with the Woocommerce mobile app. The main site is in Spanish at the regular domain, and the English site is maintained separately (two totally separate WP installations) at the /en subdirectory. The installations are otherwise identical.

    Logging into the Woo app works just fine for the main site, but the site in the subdirectory returns an unspecified error when trying to log in. For reference I logged in to the app with the site address and the using the site credentials.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Shameem – a11n

    (@shameemreza)

    Hi @pixelcanopy

    The subdirectory isn’t the problem here. Both installs point the app to the right REST API address, and the app picks up the /en/ one correctly.

    What’s broken is the REST API index on the English install. https://vanity2go.com/en/wp-json/ returns a WordPress critical error (HTTP 500), while https://vanity2go.com/wp-json/ returns the usual JSON. The app reads that index as part of signing in to check that WooCommerce is active. It fails there.

    The individual namespaces load fine on their own (/en/wp-json/wc/v3, /en/wp-json/wp/v2), so my read is something fails only when WordPress builds the full index. The PHP error log on that install, or wp-content/debug.log with WP_DEBUG_LOG on, should have the fatal for that request.

    Can you please check the log for the fatal from a request to /en/wp-json/ and share it here? If you’d rather go straight to a fix, deactivate plugins on the /en install one at a time until that URL returns JSON, then try the app again.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.