• Resolved anguschang007

    (@anguschang007)


    Cannot read property ‘performance’ of undefined
    in t in u in t in Unknown in WithFilters(t) in div in div in div in t in div in t in Unknown in WithFilters(t) in t in t in div in div in div in div in t in t

    It is showing the above error after the PageSpeed Insights was connected. There is nothing to see from the dashboard.
    The running error

    Cannot read property ‘call’ of undefined
    in Unknown in Suspense in t

    Also, another error is showing on the page Analytics.
    The running error

Viewing 15 replies - 1 through 15 (of 24 total)
  • I just noticed this error on the Site Kit Dashboard about 2 hours ago. I have track the introduction of this error to the 1.2.0 upgrade.

    When you start analysing this error you discover that it does not trigger on the page immediately. After updating to 1.2.0 I can view the Site Kit Dashboard for about 3-5 seconds, then the dashboard page is replaced with the error message. After the error is triggered I can no longer view the Site Kit Dashboard at all. Any attempt to view or refresh the Site Kit Dashboard page just brings up the error message.

    I am still able to view the Search Console page, the Analytics page and the Setting page.

    Full text of the error message follows:

    Cannot read property ‘performance’ of undefined
    in t in u in t in Unknown in WithFilters(t) in div in div in div in t in div in t in Unknown in WithFilters(t) in t in t in div in div in div in div in t in t

    I noted that the error message I am seeing is identical to that of @anguschang007. If I was to speculate, I would say that some line of code or command in the code is not terminated properly.

    Looking forward to the next bug fix update.

    Warm regards,

    Marcus

    Plugin Support James Osborne

    (@jamesosborne)

    @anguschang007 Did this issue start occurring after updating to the latest version of the plugin? If so can you follow the steps below:
    1. Download and install this mini plugin. (Click on the “Download Zip
    ” button)
    2. Install and activate that plugin as you would any other WordPress plugin (Plugins > Add New > Upload Plugin)
    3. Visit the Site Kit plugins admin page

    What the above does is reset the OpCache, which we suspect could be contributing to this issue. You can find out more about this here. You can delete the mini plugin afterwards, but please inform me if that works.

    @anguschang007 Thanks for the input, very useful. Feel free to try the fix yourself, or chime in on that related GitHub issue.

    Thread Starter anguschang007

    (@anguschang007)

    No idea, the problem is from the latest version or not. I just installed the WordPress and the Site Kit on my new VPS.

    However, I tried your suggestion but the problem is still alive.

    @anguschang007 thanks for following up. We’re currently investigating this issue here. It’s a priority fix, so feel free to keep track of it and we’ll update the thread on its progress.

    If I may chime in with some more info.

    I installed and activated your mini plugin. It did have a beneficial impact or sorts. With the plugin active I can view the Dashboard for 3-5 second every time I visit it. You should note from my first post that previously, once I triggered the error the dashboard would not load at all. So, I guess we can assume that clearing the OpCache does eliminate the error until the OpCache fills again.

    P.S. I have also notice that this error is listed as a “unexpected PageSpeed Insights API response”. I am not using PageSpeed although I can see it is connected when I look at the Settings page of the Site Kit.

    OK… Now that I can see the Dashboard for 3-5 second, I can scroll down to the bottom of the page where I see that “PageSpeed Insights is preparing data…”. Clearly, once the data is prepared and the plugin attempts to display the results, that is when the error is triggered. That is when the error is loaded in to the OpCache. Clearing the OpCache forces the plugin to regenerate the PageSpeed data enabling me to briefly see the dashboard again.

    It seem pretty clear that PageSpeed is generating the code to display the data and it is failing to generate a line or code or subroutine properly. The result is that following line(s) of code are being interpreted as data for the un-terminated code sequence when it is actually the next command sequence which is supposed to be displaying something (given all the references to div in the error sequence).

    Well, at least that is my two pennies worth. Keep us posted.

    thanks for the feedback @adlerbce ! I’ll keep this thread updated when a fix is released.

    I have the same problem with SiteKit 1.2.0 using (Internet Explorer) browser I see the following error on the Sitekit Dashboard and Adsense Tabs:

    Object doesn’t support property or method ‘formatToParts’
    in t in u in t in Unknown in WithFilters(t) in t in t in div in div in div in div in t in

    while Search Console, Analytics and Settings Tabs are accessible.

    On (Chrome) browser all the Sitekit Tabs are BLANK, nothing shows

    On (Firefox) browser all the Tabs are visible and working

    I hope this helps…

    Hello,
    I have the same issue with my website.
    Have you found a fix?

    Plugin Support James Osborne

    (@jamesosborne)

    @olivier83 We are working on this issue at present. We can keep you posted here with any updates.

    @aypoupen Thanks for the input, very useful.

    For your information, I’m on chrome.
    When optimize is disconnected, I dont’t have the issue anymore.

    I have the same problem. Please give upgrades soon. Thanks

    Cannot read property ‘performance’ of undefined (Dashboard only)

    Image URL. https://sv1.picz.in.th/images/2020/02/02/RIFmgV.png

    same issue – started when I added Page Speed Insights

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Cannot read property ‘performance’ of undefined’ is closed to new replies.