• Resolved dj45516

    (@dj45516)


    Hi Team Woocommerce,

    Unfortunately I cannot generate a REST API key on our site.

    My steps:

    Go to ‘WooCommerce -> Settings’
    Click on ‘Advanced’
    Click on ‘Rest API’
    Insert description, user and Read/Write
    I expected generated keys to show up including the QR code, but instead nothing happens, just a reload of the page.

    I am sure I have the Rest API enabled.I am using the latest version of WooCommerce and WordPress.
    I have already done debugging by disabling all plugins and enabling only Woocommerce and WordPress. Unfortunately the problem still exists then.

    Console Shows Up Like :

    Failed to load resource: the server responded with a status of 404 ()
    jquery.tipTip.min.js:1 Failed to load resource: the server responded with a status of 404 ()
    selectWoo.full.min.js:1 Failed to load resource: the server responded with a status of 404 ()
    wc-enhanced-select.min.js:1 Failed to load resource: the server responded with a status of 404 ()
    wc-clipboard.min.js:1 Failed to load resource: the server responded with a status of 404 ()
    2api-keys.min.js:1 Failed to load resource: the server responded with a status of 404 ()
    settings.min.js:1 Failed to load resource: the server responded with a status of 404 ()
    woocommerce_admin.min.js?ver=4.4.1:1 Uncaught TypeError: c(…).tipTip is not a function
    at HTMLBodyElement.<anonymous> (woocommerce_admin.min.js?ver=4.4.1:1)
    at HTMLBodyElement.dispatch (jquery.js?ver=1.12.4-wp:3)
    at HTMLBodyElement.r.handle (jquery.js?ver=1.12.4-wp:3)
    at Object.trigger (jquery.js?ver=1.12.4-wp:3)
    at HTMLBodyElement.<anonymous> (jquery.js?ver=1.12.4-wp:3)
    at Function.each (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.each (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.trigger (jquery.js?ver=1.12.4-wp:3)
    at HTMLDocument.<anonymous> (woocommerce_admin.min.js?ver=4.4.1:1)
    at i (jquery.js?ver=1.12.4-wp:2)
    wp-auth-check.min.js?ver=5.5.1:2 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined
    at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=5.5.1:2)
    at HTMLDocument.dispatch (jquery.js?ver=1.12.4-wp:3)
    at HTMLDocument.r.handle (jquery.js?ver=1.12.4-wp:3)
    at Object.trigger (jquery.js?ver=1.12.4-wp:3)
    at HTMLDocument.<anonymous> (jquery.js?ver=1.12.4-wp:3)
    at Function.each (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.each (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.trigger (jquery.js?ver=1.12.4-wp:3)
    at Object.<anonymous> (heartbeat.min.js?ver=5.5.1:2)
    at i (jquery.js?ver=1.12.4-wp:2)
    (anonymous) @ wp-auth-check.min.js?ver=5.5.1:2
    dispatch @ jquery.js?ver=1.12.4-wp:3
    r.handle @ jquery.js?ver=1.12.4-wp:3
    trigger @ jquery.js?ver=1.12.4-wp:3
    (anonymous) @ jquery.js?ver=1.12.4-wp:3
    each @ jquery.js?ver=1.12.4-wp:2
    each @ jquery.js?ver=1.12.4-wp:2
    trigger @ jquery.js?ver=1.12.4-wp:3
    (anonymous) @ heartbeat.min.js?ver=5.5.1:2
    i @ jquery.js?ver=1.12.4-wp:2
    fireWith @ jquery.js?ver=1.12.4-wp:2
    x @ jquery.js?ver=1.12.4-wp:4
    c @ jquery.js?ver=1.12.4-wp:4
    XMLHttpRequest.send (async)
    (anonymous) @ VM1441:1
    send @ jquery.js?ver=1.12.4-wp:4
    ajax @ jquery.js?ver=1.12.4-wp:4
    l @ heartbeat.min.js?ver=5.5.1:2
    d @ heartbeat.min.js?ver=5.5.1:2
    v @ heartbeat.min.js?ver=5.5.1:2
    (anonymous) @ heartbeat.min.js?ver=5.5.1:2
    dispatch @ jquery.js?ver=1.12.4-wp:3
    r.handle @ jquery.js?ver=1.12.4-wp:3
    wp-auth-check.min.js?ver=5.5.1:2 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined
    at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=5.5.1:2)
    at HTMLDocument.dispatch (jquery.js?ver=1.12.4-wp:3)
    at HTMLDocument.r.handle (jquery.js?ver=1.12.4-wp:3)
    at Object.trigger (jquery.js?ver=1.12.4-wp:3)
    at HTMLDocument.<anonymous> (jquery.js?ver=1.12.4-wp:3)
    at Function.each (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.each (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.trigger (jquery.js?ver=1.12.4-wp:3)
    at Object.<anonymous> (heartbeat.min.js?ver=5.5.1:2)
    at i (jquery.js?ver=1.12.4-wp:2)
    (anonymous) @ wp-auth-check.min.js?ver=5.5.1:2
    dispatch @ jquery.js?ver=1.12.4-wp:3
    r.handle @ jquery.js?ver=1.12.4-wp:3
    trigger @ jquery.js?ver=1.12.4-wp:3
    (anonymous) @ jquery.js?ver=1.12.4-wp:3
    each @ jquery.js?ver=1.12.4-wp:2
    each @ jquery.js?ver=1.12.4-wp:2
    trigger @ jquery.js?ver=1.12.4-wp:3
    (anonymous) @ heartbeat.min.js?ver=5.5.1:2
    i @ jquery.js?ver=1.12.4-wp:2
    fireWith @ jquery.js?ver=1.12.4-wp:2
    x @ jquery.js?ver=1.12.4-wp:4
    c @ jquery.js?ver=1.12.4-wp:4
    XMLHttpRequest.send (async)
    (anonymous) @ VM1441:1
    send @ jquery.js?ver=1.12.4-wp:4
    ajax @ jquery.js?ver=1.12.4-wp:4
    l @ heartbeat.min.js?ver=5.5.1:2
    (anonymous) @ heartbeat.min.js?ver=5.5.1:2
    setTimeout (async)
    d @ heartbeat.min.js?ver=5.5.1:2
    (anonymous) @ heartbeat.min.js?ver=5.5.1:2
    i @ jquery.js?ver=1.12.4-wp:2
    fireWith @ jquery.js?ver=1.12.4-wp:2
    x @ jquery.js?ver=1.12.4-wp:4
    c @ jquery.js?ver=1.12.4-wp:4
    XMLHttpRequest.send (async)
    (anonymous) @ VM1441:1
    send @ jquery.js?ver=1.12.4-wp:4
    ajax @ jquery.js?ver=1.12.4-wp:4
    l @ heartbeat.min.js?ver=5.5.1:2
    d @ heartbeat.min.js?ver=5.5.1:2
    v @ heartbeat.min.js?ver=5.5.1:2
    (anonymous) @ heartbeat.min.js?ver=5.5.1:2
    dispatch @ jquery.js?ver=1.12.4-wp:3
    r.handle @ jquery.js?ver=1.12.4-wp:3
    wp-auth-check.min.js?ver=5.5.1:2 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined
    at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=5.5.1:2)
    at HTMLDocument.dispatch (jquery.js?ver=1.12.4-wp:3)
    at HTMLDocument.r.handle (jquery.js?ver=1.12.4-wp:3)
    at Object.trigger (jquery.js?ver=1.12.4-wp:3)
    at HTMLDocument.<anonymous> (jquery.js?ver=1.12.4-wp:3)
    at Function.each (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.each (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.trigger (jquery.js?ver=1.12.4-wp:3)
    at Object.<anonymous> (heartbeat.min.js?ver=5.5.1:2)
    at i (jquery.js?ver=1.12.4-wp:2)
    (anonymous) @ wp-auth-check.min.js?ver=5.5.1:2
    dispatch @ jquery.js?ver=1.12.4-wp:3
    r.handle @ jquery.js?ver=1.12.4-wp:3
    trigger @ jquery.js?ver=1.12.4-wp:3
    (anonymous) @ jquery.js?ver=1.12.4-wp:3
    each @ jquery.js?ver=1.12.4-wp:2
    each @ jquery.js?ver=1.12.4-wp:2
    trigger @ jquery.js?ver=1.12.4-wp:3
    (anonymous) @ heartbeat.min.js?ver=5.5.1:2
    i @ jquery.js?ver=1.12.4-wp:2
    fireWith @ jquery.js?ver=1.12.4-wp:2
    x @ jquery.js?ver=1.12.4-wp:4
    c @ jquery.js?ver=1.12.4-wp:4
    XMLHttpRequest.send (async)
    (anonymous) @ VM1441:1
    send @ jquery.js?ver=1.12.4-wp:4
    ajax @ jquery.js?ver=1.12.4-wp:4
    l @ heartbeat.min.js?ver=5.5.1:2
    d @ heartbeat.min.js?ver=5.5.1:2
    v @ heartbeat.min.js?ver=5.5.1:2
    (anonymous) @ heartbeat.min.js?ver=5.5.1:2
    dispatch @ jquery.js?ver=1.12.4-wp:3
    r.handle @ jquery.js?ver=1.12.4-wp:3

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    Looking at the error logs there, it seems that your hosting server isn’t loading any JS file in admin. Have you check with your hosting provider on whether they’re blocking any of those files? Is the pathname of those files correct?

    Thread Starter dj45516

    (@dj45516)

    Path Name are correct let me connect with hosting provider

    Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Kind regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘REST API NOT WORKING’ is closed to new replies.