• Resolved vmajor

    (@vmajor)


    Bug Description
    While editing products in the backend, after several product edits a blue notification popup appears with the following message:

    "Looks like the URL of your site has changed. In order to continue using Site Kit, you’ll need to reconnect, so that your plugin settings are updated with the new URL. Reconnect"

    Steps to reproduce
    Go to WooCommerce Products listing
    Click on edit any product and repeat editing at least 4 to 5 products. Save the edits. (see EDIT, disconnection is time related)
    See the error message appear on the top of the next product you edit.

    Additional Context
    PHP Version: 7.2.24-0ubuntu0.18.04.7
    OS: Ubuntu 18.04
    Browser: Brave
    Plugin Version: 1.26.0
    Device: Desktop

    Since the previously documented bug exhibiting similar behaviour was attributed to WPML perhaps this one is related to the TranslatePress plugin that we are using.

    The disconnection appears to be entirely spontaneous after accessing any product at the back end. The disconnection is not instantaneous to the user, but appears to correspond to some polling frequency from Google as it is is severed after some time passes after the product edit.

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

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    Many thank for opening this support topic. One of our engineers has been investigating this and has opened a GitHub issue which should address this issue once merged.

    In the meantime can you try and install this mini plugin and activate it to see whether the issue persists? You can upload and install as a standard WordPress plugin before activating. Let me know if that works for you.

    Thread Starter vmajor

    (@vmajor)

    Thank you for the plugin. That seems to have fixed the disconnect.

    I think this next issue is related and is most likely due to the dynamic URLs created by TranslatePress (and other multilingual plugins).

    Every product shows this:

    No data available yet
    There is no data available for this content yet. This could be because it was recently created or because nobody has accessed it so far.

    This is of course true because the front end URL is formatted like this for example in English:

    https://www.venn-cycling.com/en/product/venn-var-507-tcd-filament-wound-carbon-rim/

    while the back end URL is:

    https://www.venn-cycling.com/product/venn-var-507-tcd-filament-wound-tubeless-clincher-rim-brake-carbon-wheels/

    It would be useful if SiteKit would either merge all the language switches into one (prune them perhaps), or even better, provide info per language switch so that we can see which content is popular in a particular language group, at a glance.

    Plugin Support James Osborne

    (@jamesosborne)

    Great to hear that solved the disconnect issue. Hopefully there won’t be a need for this plugin going forward.

    In relation to the additional insights you kindly provided this may be worth opening a GitHub issue for the team to review. I can also test this from my side and include my own input.

    If you prefer I can open the Github issue for you. Let me know eitherway, and thanks for the insights.

    Thread Starter vmajor

    (@vmajor)

    Please open the GitHub issue for me as this is more of a feature request and I am not sure how to format those so that it becomes/remains visible.

    Plugin Support James Osborne

    (@jamesosborne)

    Not a problem, I’ve created the below and requested an engineer to take a look:
    https://github.com/google/site-kit-wp/issues/2862

    I’ve also setup a similar environment to your own using TranslatePress, and encountered notices using the admin toolbar and “Detailed Page Stats” as expected.

    Feel free to correct or add context to that GitHub issue. It might be useful also to include at what stage and where you encounter the “There is no data available for this content yet. This could be because it was recently created or because nobody has accessed it so far.” notice, I assume this is also within the admin toolbar?

    Thread Starter vmajor

    (@vmajor)

    Just a heads up. I will need to test this more tomorrow during working hours, but some time after enabling the extra compatibility plugin, all of my WooCommerce product links went 404.

    I disabled the plugin, restarted apache and everything is back again. I will need to test this some more tomorrow so this is just for reference if it happens to someone else as well.

    Plugin Support James Osborne

    (@jamesosborne)

    No problem, thanks for the update. Feel free to share any findings here and I’d be happy to check.

    Thread Starter vmajor

    (@vmajor)

    From what I can tell, that small addon to fix the disconnections broke all WooCommerce links leading to a 404 for every product.

    Thus I either have SiteKit that keeps disconnecting on every product refresh, or I have no products…

    Plugin Support James Osborne

    (@jamesosborne)

    I understand, thanks for sharing. I’ve setup WooCommerce with TranslatePress and the compatibility fix although I’m unable to recreate the same broken Site Kit connection. Can you share the exact steps you take before becoming disconnected? I can then try and follow the same exact steps.

    Feel free to share a video of your experience, using a service such as Loom or RecordIt.

    Thread Starter vmajor

    (@vmajor)

    I removed SiteKit from my site for the time being. I cannot allocate enough time to making it work and will revisit it again in the future.

    Thus, I cannot make a video.

    To recreate the broken site link connection go and edit any product through the back end. Save the edit. The broken connection notice will show up immediately, or after some time.

    Also please note that I am using the paid version of Translatepress and that involves using the other 5 plugins including their SEO plugin.

    Victor

    Plugin Support James Osborne

    (@jamesosborne)

    I understand, it can be time consuming. Note that I have attempted the same steps – although with the free version of TranslatePress, without being able to replicate the same issue. There maybe particular configurations resulting in this behaviour.

    Any fix on the TranslatePress side may also help with this disconnection you’re encounter, so feel free to keep watch or subscribe to the related GitHub issue. Sorry we can’t be of more assistance

    Plugin Support Bethany Chobanian Lang

    (@mxbclang)

    @vmajor Just wanted to update here that TranslatePress has included a fix in their most recent release for the disconnect issue that you noted. Please make sure that you are updated to the most recent version of the TranslatePress plugin. Thanks!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘SiteKit disconnecting spontaneusly’ is closed to new replies.