• Resolved monolit.bgd

    (@monolitbgd)


    Hi, after completion of the setup of Site Kit by Google and then, I saw the statistic a first time and after refreshing I’m receiveing a following error message:

    `Invalid attempt to spread non-iterable instance.<br>In order to be iterable, non-array objects must have a [Symbol.iterator]() method.</p> <pre class=”wp-block-code”><code>in WPDashboardUniqueVisitorsChartGA4 in WithWPDashboardWidgetComponentProps(WPDashboardUniqueVisitorsChartGA4) in div in WPDashboardWidgets in div in WPDashboardApp in RestoreSnapshots in ErrorHandler in ThemeProvider in StrictMode in Root`

    I tried with disabling the all other plugins and I was used Health & Troubleshoot plugin but nothing has been changed.
    What to do to resolve this?

    tnx

    • This topic was modified 4 months, 3 weeks ago by monolit.bgd.

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

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

    (@jamesosborne)

    Thanks for reaching out @monolitbgd. Considering this occurs with only Site Kit active, based on your troubleshooting, please share the following and we can hopefully determine more on this:

    1. Your Site Health information. You can use this form to share privately if preferred.??
    2. When checking the Site Kit dashboard from a Chrome browser incognito window does the same occur? If so, please share any browser console errors that appear.?
    3. Do you see any errors when checking the main WordPress dashboard, where a Site Kit widget exits, or when checking stats from the Site Kit admin toolbar when visiting the front end of your site?

    Let me know if you have any questions with the above.

    Thread Starter monolit.bgd

    (@monolitbgd)

    Thank you James.

    I just sent the information over the form.

    Thanks in advance for your help.

    BR
    Milan

    Plugin Support James Osborne

    (@jamesosborne)

    Many thanks for the update @monolitbgd. From reviewing the information you kindly shared, I can see that you have the Transliterator plugin active. You’ll find out more on this here. While you’ve already perform some checks with only Site Kit active, can you temporarily deactivate this plugin and check your site from an incognito session once more? After doing so please share whether the same occurs.

    Thread Starter monolit.bgd

    (@monolitbgd)

    Hi @jamesosborne ,

    thank you for the hint. Yes, indeed, the Transliterator plugin causes this issue. I’m not sure why this didn’t work when all plugins were deactivated (maybe the caching was the problem) as I didn’t try this in “Incognito” mode.

    Is there some workaround, at least, temporary for this issue? I saw the information on github and saw that the question is raised on the Transiliterator plugin page but it’s not yet fixed.

    Thanks for effort that you put to help me to resolve this.

    BR
    MIlan

    Plugin Support James Osborne

    (@jamesosborne)

    Thanks for the update @monolitbgd, and no problem. Unfortunately there is no workaround other than uninstalling Transliterator when viewing the Site Kit dashboard. I performed various checks with the Transliterator configurations and I didn’t see any filers to apply or workarounds that ensure the Site Kit dashboard will work as expected. While this isn’t what you wish to hear, the plugin is modifying REST responses, including Site Kit responses. It’s also possible that they are modifying other plugin REST endpoint responses.

    We’re also going to add a notice for such known conflicts, with a guide on the plugin website for additional insights in cases similar to this, for known or expected issues if the the Site Kit responses are modified.

    Thread Starter monolit.bgd

    (@monolitbgd)

    Hi @jamesosborne ,

    thank you for the update. I already replaced the plugin and everything is working as expected now.

    Thank you very much for your effort, much appreciated.

    BR
    Milan

    Plugin Support James Osborne

    (@jamesosborne)

    Glad to hear it @monolitbgd. Be sure to reach out if you have any further queries.

    Best of luck!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.