Cannot edit RankMath meta fields on product categories with ACF plugin enabled

#247728
  • Resolved Amir Rahwane
    Rank Math free

    Hi guys!

    We have recently updated WP, WooCommerce, and all other relevant plugins on our websites.

    Since then, even with all plugins to their latest versions, we are unable to edit meta titles, descriptions, and keywords on product categories.

    This does not seem to affect any other post types, only product categories.

    I can tell that it is probably caused by a JS error that I see in the console but, I don’t really understand why. I did find out that if I disable the ACF (Advanced Custom Fields) plugin, I can save changes in RankMath’s fields. But obviously, this is not sustainable.

    I pasted the stack track at the bottom of the ticket.

    We appreciate any help,
    Amir.


    term.php?taxonomy=pr…type%3Dproduct:1797 Uncaught TypeError: Cannot read property 'indexOf' of undefined
    at HTMLDocument.<anonymous> (term.php?taxonomy=pr…type%3Dproduct:1797)
    at HTMLDocument.dispatch (load-scripts.php?c=1….7.2:formatted:2030)
    at HTMLDocument.v.handle (load-scripts.php?c=1….7.2:formatted:1962)
    at Object.trigger (load-scripts.php?c=1….7.2:formatted:3361)
    at l (load-scripts.php?c=1….7.2:formatted:3778)
    at XMLHttpRequest.<anonymous> (load-scripts.php?c=1….7.2:formatted:3900)

    (anonymous) @ term.php?taxonomy=pr…type%3Dproduct:1797
    dispatch @ load-scripts.php?c=1….7.2:formatted:2030
    v.handle @ load-scripts.php?c=1….7.2:formatted:1962
    trigger @ load-scripts.php?c=1….7.2:formatted:3361
    l @ load-scripts.php?c=1….7.2:formatted:3778
    (anonymous) @ load-scripts.php?c=1….7.2:formatted:3900
    load (async)
    send @ load-scripts.php?c=1….7.2:formatted:3908
    ajax @ load-scripts.php?c=1….7.2:formatted:3680
    s.ajax.s.ajax @ load-scripts.php?c=1….7.2:formatted:4363
    value @ VM7216 analyzer.js:formatted:3774
    (anonymous) @ VM7216 analyzer.js:formatted:11801
    (anonymous) @ lodash.min.js?ver=BROWSER_CACHE_TOKEN:53
    ee @ lodash.min.js?ver=BROWSER_CACHE_TOKEN:34
    (anonymous) @ lodash.min.js?ver=BROWSER_CACHE_TOKEN:52
    hf @ lodash.min.js?ver=BROWSER_CACHE_TOKEN:83
    (anonymous) @ VM7216 analyzer.js:formatted:11800
    value @ VM7216 analyzer.js:formatted:11797
    value @ VM7216 analyzer.js:formatted:11791
    (anonymous) @ VM7233 classic.js:formatted:5758
    (anonymous) @ VM7233 classic.js:formatted:5755
    e @ lodash.min.js?ver=BROWSER_CACHE_TOKEN:86
    c @ lodash.min.js?ver=BROWSER_CACHE_TOKEN:87
    f @ lodash.min.js?ver=BROWSER_CACHE_TOKEN:87
    setTimeout (async)
    Es @ lodash.min.js?ver=BR…SER_CACHE_TOKEN:115
    u @ lodash.min.js?ver=BROWSER_CACHE_TOKEN:86
    s @ lodash.min.js?ver=BROWSER_CACHE_TOKEN:87
    value @ VM7233 classic.js:formatted:6823
    value @ VM7233 classic.js:formatted:6053
    (anonymous) @ VM7060 hooks.min.js:2
    (anonymous) @ VM7233 classic.js:formatted:6865
    e @ load-scripts.php?c=1….7.2:formatted:1423
    t @ load-scripts.php?c=1….7.2:formatted:1434
    setTimeout (async)
    (anonymous) @ load-scripts.php?c=1….7.2:formatted:1444
    c @ load-scripts.php?c=1….7.2:formatted:1319
    fireWith @ load-scripts.php?c=1….7.2:formatted:1372
    fire @ load-scripts.php?c=1….7.2:formatted:1376
    c @ load-scripts.php?c=1….7.2:formatted:1319
    fireWith @ load-scripts.php?c=1….7.2:formatted:1372
    e @ load-scripts.php?c=1….7.2:formatted:1429
    t @ load-scripts.php?c=1….7.2:formatted:1434
    setTimeout (async)
    (anonymous) @ load-scripts.php?c=1….7.2:formatted:1444
    c @ load-scripts.php?c=1….7.2:formatted:1319
    fireWith @ load-scripts.php?c=1….7.2:formatted:1372
    fire @ load-scripts.php?c=1….7.2:formatted:1376
    c @ load-scripts.php?c=1….7.2:formatted:1319
    fireWith @ load-scripts.php?c=1….7.2:formatted:1372
    s.<computed> @ load-scripts.php?c=1….7.2:formatted:1467
    e @ load-scripts.php?c=1….7.2:formatted:1423
    t @ load-scripts.php?c=1….7.2:formatted:1434
    setTimeout (async)
    (anonymous) @ load-scripts.php?c=1….7.2:formatted:1444
    c @ load-scripts.php?c=1….7.2:formatted:1319
    add @ load-scripts.php?c=1….7.2:formatted:1334
    (anonymous) @ load-scripts.php?c=1….7.2:formatted:1449
    s.Deferred.s.Deferred @ load-scripts.php?c=1….7.2:formatted:4619
    then @ load-scripts.php?c=1….7.2:formatted:1447
    I @ load-scripts.php?c=1….7.2:formatted:1301
    when @ load-scripts.php?c=1….7.2:formatted:1490
    (anonymous) @ VM7233 classic.js:formatted:6864
    dispatch @ load-scripts.php?c=1….7.2:formatted:2030
    v.handle @ load-scripts.php?c=1….7.2:formatted:1962
    load (async)
    add @ load-scripts.php?c=1….7.2:formatted:1983
    s.event.add @ load-scripts.php?c=1….7.2:formatted:4507
    (anonymous) @ load-scripts.php?c=1….7.2:formatted:1922
    each @ load-scripts.php?c=1…5.7.2:formatted:160
    each @ load-scripts.php?c=1…=5.7.2:formatted:78
    ke @ load-scripts.php?c=1….7.2:formatted:1921
    on @ load-scripts.php?c=1….7.2:formatted:2225
    (anonymous) @ VM7110 acf.min.js:formatted:934
    (anonymous) @ VM7110 acf.min.js:formatted:951

Viewing 1 replies (of 1 total)
  • Hello,

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

    Please check if there are other plugins or your current theme that might be conflicting with the meta fields. You can determine that by following 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.

    If the issue persists, we might need to take a closer look at the settings. 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/

    We really look forward to helping you.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this ticket.