Too much recursion

#261632
  • Resolved Andrea Marucci
    Rank Math free

    In a specific article, in backend, it seems that the browser stuck every now and then and checking the console I see many of these errors

    Uncaught (in promise) InternalError: too much recursion
    value https://www.tuttosullapostaelettronica.it/blog/wp-content/plugins/seo-by-rank-math/assets/admin/js/analyzer.js?ver=1.0.72:1
    value https://www.tuttosullapostaelettronica.it/blog/wp-content/plugins/seo-by-rank-math/assets/admin/js/analyzer.js?ver=1.0.72:1
    Lodash 4
    value https://www.tuttosullapostaelettronica.it/blog/wp-content/plugins/seo-by-rank-math/assets/admin/js/analyzer.js?ver=1.0.72:1
    value https://www.tuttosullapostaelettronica.it/blog/wp-content/plugins/seo-by-rank-math/assets/admin/js/analyzer.js?ver=1.0.72:1
    value https://www.tuttosullapostaelettronica.it/blog/wp-content/plugins/seo-by-rank-math/assets/admin/js/analyzer.js?ver=1.0.72:1
    refresh https://www.tuttosullapostaelettronica.it/blog/wp-content/plugins/seo-by-rank-math/assets/admin/js/gutenberg.js?ver=1.0.72:1
    refresh https://www.tuttosullapostaelettronica.it/blog/wp-content/plugins/seo-by-rank-math/assets/admin/js/gutenberg.js?ver=1.0.72:1
    Lodash 3

Viewing 13 replies - 1 through 13 (of 13 total)
  • Hello,

    Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.

    Assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Here is a video you can follow as well: https://www.youtube.com/watch?v=FcIWRhcUP2c

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    If the issue persists, please edit the first post on this ticket and include your WordPress login in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    Please do take a complete backup of your website before sharing the information with us.

    We really look forward to helping you.

    It’s not a plugin conflict problem since it does appear only on a single post and not in the hundred other I have in my blog so there’s something in that post I’m not able to identify.
    The post where the problem arise is that one

    https://www.tuttosullapostaelettronica.it/blog/glossario-email-i-termini-della-posta-elettronica/

    and just in backend since in frontend no errors are given.

    Hello,

    In this case, we may need to further investigate this on your site.

    Please follow the steps provided by my colleague above and include your WordPress logins in the sensitive data section.

    Looking forward to helping you.

    Thank you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Upon further checking, the editor seems to be working fine and I wasn’t able to find any Rank Math related errors in the Console. Please refer to my video screencast here: https://i.rankmath.com/7YeT8y

    If it still seems I am missing something, sharing a screencast from your end would save us all the time in trying to replicate the issue.

    Looking forward to helping you with this one. Thank you

    Here it is

    https://allmedia.b-cdn.net/ScreenRecorderProject19.mp4

    where it seems that nothing happens, the screen hangs and you can’t do anything until the hang process finish.

    Please note that I’ve opened a new anonymous windows in Firefox just to avoid any other problem.

    Thanks!

    Hello,

    I was able to replicate it and saw the console error on Firefox.

    Allow me to share this with our dev team to investigate the issue further. We should get back to you with a solution or advice shortly.

    Also, to further debug this, please provide FTP access.

    In the meantime, please don’t hesitate to contact us anytime if you need our assistance with anything else.

    Thank you

    Ok, I put FTP access in the sensitive data. Please note that

    this happen also on Chrome/Edge Chromium
    this happen just on this article since if you try to edit another article on the same site everything works but I really don’t know why
    same thing happened on another very simple site here https://servizio-stiro.it with the same error

    When you’ve found a solution I’ll try to apply that also on this site to verify if the problem is solved…

    Hello,

    The issue is caused by a long keyword in your focus keyword field: Glossario email - I termini della posta elettronica

    We recommend that you try to use smaller focus keywords to prevent issues like this in the future.

    Don’t hesitate to get in touch if you have any other questions.

    Well you’re right but I can’t figure out why the lenght of the focus keyword can interfere with the plug-in. Maybe a bug?

    Hello,

    The reason for this is because we use a recursive function to detect the presence of the focus keyword on the page and when it’s too long there’s a lot of recursions causing this situation.

    This doesn’t prevent any functionality from the plugin, it just hangs the loading time a little more because of this.

    We have to use a recursive function there because we need to run through the entire content to find the keywords for our tests to provide insightful information.

    Don’t hesitate to get in touch if you have any other questions.

    Ok it fits. I’ll keep an eye on the other pages with lung focus keywords, thank you very much!

    Hello,

    I am glad we could address your concern.

    Do let us how it goes with the other pages.

    Looking forward to helping you.

Viewing 13 replies - 1 through 13 (of 13 total)

You must be logged in to reply to this ticket.