• Resolved agenturnuvista

    (@agenturnuvista)


    Hello dear WP_Shopify support team,

    I have trouble with synching my Shopify Shop to my WP Page via the WP_Shopify plugin. First up I should say I have my page set up locally via MAMP on my Mac (If that makes a difference – so I can’t give a link to the page). I have followed the documentation to connect the shop to my WordPress. At first the synching seemed to work – It is showing the categories (collections) but when I click on a collection to see all the products inside I get a “404 – Sorry, page not found!” error. By navigating directly to a detail page of a product via URL I get the same error.

    Furthermore I get the following error when trying to synch “Product & Collection Detail Pages” under “tools” (Translating this myself from german so the message might be a bit different):
    “No route was found that is identical to the request-method while calling rest_no_route. Please empty the plugin transient cache and try again.
    Errorcode: 404”
    Aswell as the Waring error:
    “Warning: While synchronizing no smart collections were found”

    Clearing the transient cache doesn’t seem to work – after clearing it the same errors appear.

    I’m having the problem for a couple of days now – maybe someone can help me on this? Here are a couple of screenshots to this matter – it is in german but maybe it helps nonetheless.

    https://ibb.co/BCCd4gt
    https://ibb.co/gVPM4jZ
    https://ibb.co/9pghv2V
    https://ibb.co/Jx5Rtwt

    With kind regards,
    Tobias M?ller

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author andrewmrobbins

    (@andrewmrobbins)

    @agenturnuvista

    Hey Tobias! Apologies for the delay.

    First, have you tried looking through the syncing issues guide? In particular, have a look at items 2-5.

    Second, in order for the product details to work you’ll need to ensure you have a couple plugin settings enabled. Open up the “General” section of the plugin settings and make sure that Enable Default Pages and Create Product Detail Pages? are checked. Also make sure that Products Link To is set to WordPress.

    [redacted]

    btzvince

    (@btzvince)

    Hello Andrew,

    We’ve spoke via email and I’ve updated my plugin version but I am still running into the same issue as @agenturnuvista, syncing my Shopify products locally. I’ve clear both the browser cache and the WP Shopify Cache. Under the plugin’s Tools settings, Whenever I select “Sync Detail Pages” or “Remove all synced data from WordPress” I still receive the following error.

    Error code:
    “No route was found matching the url and request method while calling rest_no_route. Please clear the plugin transient cache and try again. Error status code: 404”

    When inspecting the network tab while syncing products, I noticed it throws a 404 status code when it hits the webhook count. The other 3 counts work just fine.

    Request URL: https://mylocaldomainname.com/wp-json/wpshopify/v1/products/count (200 status code)
    Request URL: https://mylocaldomainname.com/wp-json/wpshopify/v1/shop/count (200 status code)
    Request URL: https://mylocaldomainname.com/wp-json/wpshopify/v1/collects/count (200 status code)
    Request URL: https://mylocaldomainname.com/wp-json/wpshopify/v1/webhooks/count (404 status code)

    Local site specs:
    – Google Chrome Version 86.0.4240.111 (Official Build) (x86_64)
    – nginx version: nginx/1.17.1
    – macOS Mojave version 10.14.6
    – WordPress Version 5.5.2
    – WP Shopify Version 3.5.2 (just update yesterday)
    – PHP Version 7.3.7

    Plugin Author andrewmrobbins

    (@andrewmrobbins)

    @btzvince

    Thanks!

    I know it’s annoying, but can you try temporarily disabling all your other plugins and re-syncing? Same issue?

    Another thing to try is completely re-installing the plugin.

    If these two things don’t work, let me know.

    btzvince

    (@btzvince)

    Thank you for the quick response.

    Test 1 didn’t work (disable plugins and resync)

    These are the only plugins installed:
    Advanced Custom Fields PRO Version 5.9.1 (disabled)
    Akismet Anti-Spam Version 4.1.7 (disabled)
    WP Shopify Version 3.5.2 (enabled)

    Cleared browser cache > cleared WP Shopify Cache > Remove all synced data (same 404 error) > Sync Product & Collection Detail Pages (same 404 error)

    Test 2 worked (reinstalled the plugin)

    Downloaded plugin straight from the https://www.ads-software.com/plugins/wpshopify/ page. > deactivated existing WP Shopify plugin > deleted existing WP Shopify plugin > uploaded newly downloaded WP plugin > reconnected my store with the plugin > resynced Product & Collection Detail Pages(Success) > tested the “Remove all synced data” option (Same rest_no_route error).

    As of right now reinstalling the plugin and reconnecting the my store seemed to fix the syncing issue. I’m not too worried about the “Remove all synced data” atm (unless you have some insight?). Thank you for your help!

    • This reply was modified 4 years ago by btzvince.
    Plugin Author andrewmrobbins

    (@andrewmrobbins)

    @btzvince

    Great! Glad re-installing the plugin fixed the issue for you. Must have been related to a recent plugin update.

    Let me know if you run into any other problems.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Synching Error – rest_no_route’ is closed to new replies.