Can’t update focus keywords only in the Homepage

#986765
  • Resolved Nuno Monteiro
    Rank Math free

    The folloowing error appears int he console:

    analyzer.js?ver=1.0.239:1 Uncaught TypeError: Cannot read properties of undefined (reading ‘replace’)
    at u.value (analyzer.js?ver=1.0.239:1:191588)
    at u.value (analyzer.js?ver=1.0.239:1:191425)
    at Object.<anonymous> (analyzer.js?ver=1.0.239:1:190807)
    at c (load-scripts.php?c=0…s&ver=6.7.2:2:25304)
    at Object.fireWith [as resolveWith] (load-scripts.php?c=0…s&ver=6.7.2:2:26053)
    at l (load-scripts.php?c=0…s&ver=6.7.2:2:77782)
    at XMLHttpRequest.<anonymous> (load-scripts.php?c=0…s&ver=6.7.2:2:80265)
    value @ analyzer.js?ver=1.0.239:1
    value @ analyzer.js?ver=1.0.239:1
    (anonymous) @ analyzer.js?ver=1.0.239:1
    c @ load-scripts.php?c=0…p-hooks&ver=6.7.2:2
    fireWith @ load-scripts.php?c=0…p-hooks&ver=6.7.2:2
    l @ load-scripts.php?c=0…p-hooks&ver=6.7.2:2
    (anonymous) @ load-scripts.php?c=0…p-hooks&ver=6.7.2:2
    XMLHttpRequest.send
    send @ load-scripts.php?c=0…p-hooks&ver=6.7.2:2
    ajax @ load-scripts.php?c=0…p-hooks&ver=6.7.2:2
    (anonymous) @ load-scripts.php?c=0…p-hooks&ver=6.7.2:5
    e.<computed> @ load-scripts.php?c=0…p-hooks&ver=6.7.2:5
    value @ analyzer.js?ver=1.0.239:1
    (anonymous) @ analyzer.js?ver=1.0.239:1
    (anonymous) @ lodash.min.js?ver=4.17.21:9
    Tt @ lodash.min.js?ver=4.17.21:9
    (anonymous) @ lodash.min.js?ver=4.17.21:9
    xu @ lodash.min.js?ver=4.17.21:9
    (anonymous) @ analyzer.js?ver=1.0.239:1
    value @ analyzer.js?ver=1.0.239:1
    value @ analyzer.js?ver=1.0.239:1
    (anonymous) @ gutenberg.js?ver=1.0.239:1
    (anonymous) @ gutenberg.js?ver=1.0.239:1
    e @ lodash.min.js?ver=4.17.21:9
    o @ lodash.min.js?ver=4.17.21:9
    i @ lodash.min.js?ver=4.17.21:9
    setTimeout
    Fo @ lodash.min.js?ver=4.17.21:9
    (anonymous) @ lodash.min.js?ver=4.17.21:9
    f @ lodash.min.js?ver=4.17.21:9
    value @ gutenberg.js?ver=1.0.239:1
    w @ gutenberg.js?ver=1.0.239:1
    (anonymous) @ data.min.js?ver=7c62e39…:2
    updateKeywords @ rank-math-app.js?ver=1.0.239:1
    (anonymous) @ data.min.js?ver=7c62e39…:9
    value @ rank-math-app.js?ver=1.0.239:1
    value @ rank-math-app.js?ver=1.0.239:1
    trigger @ rank-math-app.js?ver=1.0.239:1
    (anonymous) @ rank-math-app.js?ver=1.0.239:1
    addTags @ rank-math-app.js?ver=1.0.239:1
    onFocusBlur @ rank-math-app.js?ver=1.0.239:1

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

    I apologize for the issue you are facing with updating the focus keywords on your homepage. The error message you provided indicates a JavaScript-related issue, which can often be caused by conflicts with other plugins or themes.

    Here are some steps you can take to troubleshoot this issue:

    1. Check for Plugin Conflicts: There may be a conflict with another plugin that is preventing Rank Math from functioning correctly. You can follow our guide on checking for plugin conflicts to identify and resolve any issues.

    2. Inspect JavaScript Errors: Since you already have the error details, you can further investigate by checking the JavaScript console in your browser. If you need guidance on how to do this, please refer to our article on diagnosing JavaScript errors.

    3. Firewall Settings: If you are using a firewall, it might be blocking access to certain files that Rank Math needs to function properly. Ensure that Rank Math is whitelisted in your firewall settings.

    If you continue to experience issues after trying these steps, please reply to this ticket with your site URL so that a human agent from our support team can assist you further. Thank you for bringing this to our attention!

    Sources:
    Why Your SEO Title, Description & Focus Keyword Aren’t Being Saved » Rank Math
    Why Your SEO Title, Description & Focus Keyword Aren’t Being Saved » Rank Math

    Check for Plugin Conflicts: No conflits.
    Inspect JavaScript Errors: Error stated above.
    Firewall Settings: No problem with firewall, i can update the Focus Keywords in other pages but Homepage not.

    And the strage thing is that it used to work perfectly… can’t figure out what changed.

    Hello,

    Please click this button and paste the data here so we can check your site

    clipboard

    Also, you may share the exact focus keyword from your homepage so we can check.

    Meanwhile, head over to your WordPress Dashboard > Rank Math > General Settings > Images: https://rankmath.com/kb/image-seo/#replacements

    We recommend checking those and making sure that there’s no empty replacement value in the settings.

    Let us know how this goes.

    Hello,

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

    Thank you.

    I have no Focus Keyword entered in the box when i load the homepage. Also the checkbox ‘This post is Pillar Content is unchecked.
    If i add a keyword it works and if i check the box and save it responds as saved but if i refresh it comes back to default empty values.

    Hello,

    Thank you for contacting the support and we regret the inconvenience caused.

    Could you confirm if you’re using a firewall? If yes, please whitelist this route and see if that fixes the issue: /wp-json/rankmath/v1/updateMeta

    If the issue persists, please follow this guide and see if that helps:
    https://rankmath.com/kb/meta-data-not-saving/

    Let us know how that goes.

    Thank you.

    I can update in all other pages except the homepage…

    Hello,

    Assuming you are using the latest version of all the plugins and the themes (please update if not yet), it could be caused by a conflict with one of your plugins/theme.

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

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

    Let us know how this goes.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Can’t update focus keywords only in the Homepage’ is closed to new replies.