• Resolved Riversatile

    (@riversatile)


    Hello,
    But I’ve been getting JavaScript errors on the WordPress dashboard since the 2.0.82 update, and even after installing the 2.0.82.1 update.

    No issue on the front-end.
    This seems to be happening only on back-end, on most pages of the dashboard.
    Can you have a look ?

    WordPress version: 6.9.4
    Plugin version: 2.0.82.1

    Uncaught ReferenceError: cn_toc_admin_data is not defined
    at HTMLDocument.<anonymous> (admin.min.js?ver=2.0.82.1:1:15689)
    at e (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.9.4:2:27028)
    at load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.9.4:2:27330
    (anonyme) @ admin.min.js?ver=2.0.82.1:1
    e @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.9.4:2
    (anonyme) @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.9.4:2
    setTimeout
    (anonyme) @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.9.4:2
    c @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.9.4:2
    fireWith @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.9.4:2
    fire @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.9.4:2
    c @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.9.4:2
    fireWith @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.9.4:2
    ready @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.9.4:2
    P @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.9.4:2
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Riversatile

    (@riversatile)

    Also, I’m facing some jQuery Deferred Exception in WordPress Editor for the undefined “cn_toc_admin_data”.

    jQuery.Deferred exception: cn_toc_admin_data is not defined ReferenceError: cn_toc_admin_data is not defined
    at HTMLDocument.<anonymous> (.../easy-table-of-contents/assets/js/admin.min.js?ver=2.0.82.1:1:4919)
    at e (.../wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.9.4:2:27028)
    at .../wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.9.4:2:27330 undefined
    (anonyme) @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.9.4:2
    (anonyme) @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.9.4:2
    setTimeout
    (anonyme) @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.9.4:2
    c @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.9.4:2
    fireWith @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.9.4:2
    fire @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.9.4:2
    c @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.9.4:2
    fireWith @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.9.4:2
    ready @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.9.4:2
    P @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.9.4:2
    load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.9.4:2

    Downgrade to version 2.0.81 solves the issue, but I’m loosing the recent security vulnerability fixes.

    Sanjeev Kumar

    (@sanjeevsetu)

    Hi,

    The issue you pointed out is valid. We have raised a GitHub ticket for it and will fix it in the next version.

    Ticket reference: https://github.com/ahmedkaludi/easy-table-of-contents/issues/950

    Gal Baras

    (@galbaras)

    When are you planning to release the next version?

    Sanjeev Kumar

    (@sanjeevsetu)

    Hi Gal Baras,

    We have just released an update. Please update to the latest version, clear your cache, and try again.

    Thread Starter Riversatile

    (@riversatile)

    Hi,
    I confirm the last update solves the JS issue.

    Many thanks

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

You must be logged in to reply to this topic.