• Resolved albertosanto

    (@albertosanto)


    Hello,

    I have an issue with loading woocommerce scripts on backend.

    For example on ‘reports’ page it looks like this:

    Uncaught SyntaxError: missing ) after argument list
    jquery.flot.min.js?ver=3.7.0:1 Uncaught Error: Invalid dimensions for plot, width = 1675, height = 0
    at i.resize (jquery.flot.min.js?ver=3.7.0:1)
    at new i (jquery.flot.min.js?ver=3.7.0:1)
    at jquery.flot.min.js?ver=3.7.0:1
    at new e (jquery.flot.min.js?ver=3.7.0:1)
    at Function.t.plot (jquery.flot.min.js?ver=3.7.0:1)
    at drawGraph (admin.php?page=wc-reports:760)
    at HTMLDocument.<anonymous> (admin.php?page=wc-reports:809)
    at i (jquery.js?ver=1.12.4:1)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:1)
    at Function.ready (jquery.js?ver=1.12.4:1)
    i.resize @ jquery.flot.min.js?ver=3.7.0:1
    i @ jquery.flot.min.js?ver=3.7.0:1
    (anonymous) @ jquery.flot.min.js?ver=3.7.0:1
    e @ jquery.flot.min.js?ver=3.7.0:1
    t.plot @ jquery.flot.min.js?ver=3.7.0:1
    drawGraph @ admin.php?page=wc-reports:760
    (anonymous) @ admin.php?page=wc-reports:809
    i @ jquery.js?ver=1.12.4:1
    fireWith @ jquery.js?ver=1.12.4:1
    ready @ jquery.js?ver=1.12.4:1
    K @ jquery.js?ver=1.12.4:1
    wp-auth-check.min.js?ver=5.1.1:1 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined
    at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=5.1.1:1)
    at HTMLDocument.dispatch (jquery.js?ver=1.12.4:1)
    at HTMLDocument.r.handle (jquery.js?ver=1.12.4:1)
    at Object.trigger (jquery.js?ver=1.12.4:1)
    at Object.a.event.trigger (jquery-migrate.min.js?ver=1.4.1:2)
    at HTMLDocument.<anonymous> (jquery.js?ver=1.12.4:1)
    at Function.each (jquery.js?ver=1.12.4:1)
    at a.fn.init.each (jquery.js?ver=1.12.4:1)
    at a.fn.init.trigger (jquery.js?ver=1.12.4:1)
    at Object.<anonymous> (heartbeat.min.js?ver=5.1.1:1)

    Issue occurs depends on nothing… I’ve tried disabling all plugins, clean WordPress installation, default theme and many others..

    Issue occured very unexpected so I have no idea what could do that but it was working fine. Now I can’t even edit a product.

    Please help!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @albertosanto,

    That’s a lot of error messages. It shouldn’t be showing errors like that. Here’s a shot of the console from the reports page on my test site.

    report console

    Did you install WooCommerce from ww.wp.xz.cn or by downloading it from GitHub? If it was from GitHub, there are some extra steps that are required now for it to work. There’s a guide to seeing up the dev environment that can help you get that up and running.

    If you did install it from ww.wp.xz.cn and you’re still having this trouble, could you send over a copy of your System Status Report (WooCommerce > Status in your dashboard) and also a screenshot of the errors?

    Thanks

    Hi @albertosanto,

    We have not heard from you in a while so I will close this thread. If you continue to have issues please open a new thread!

    Take care

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

The topic ‘Woocommerce dashboard pages not loading scripts’ is closed to new replies.