Jump to content

PS1.7.6.8 BO graph not visible (d3 is not defined)


Smokovsky

Recommended Posts

Hello,

I'm having a multishop and in one language everything is fine but in the second I got errors and stats graph is not displaying (BO).
Errors in console:

 

rocket-loader.min.js:1 A preload for 'https://website_url.com/js/vendor/d3.v3.min.js' is found, but is not used due to an unknown reason.
t.activateScript @ rocket-loader.min.js:1
nv.d3.min.js:1 Uncaught ReferenceError: d3 is not defined
    at nv.d3.min.js:1
    at nv.d3.min.js:6
index.php?controller=AdminDashboard&token=d25d0128e8614c0f000122d307a09efd:1 The resource https://website_url.com/js/vendor/d3.v3.min.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
dashactivity.js:28 Uncaught TypeError: nv.addGraph is not a function
    at pie_chart_trends (dashactivity.js:28)
    at data_chart (dashboard.js:18)
    at Object.success (dashboard.js:1)
    at j (jquery-1.11.0.min.js:2)
    at Object.fireWith [as resolveWith] (jquery-1.11.0.min.js:2)
    at x (jquery-1.11.0.min.js:4)
    at XMLHttpRequest.b (jquery-1.11.0.min.js:4)
dashtrends.js:10 Uncaught TypeError: nv.addGraph is not a function
    at line_chart_trends (dashtrends.js:10)
    at data_chart (dashboard.js:18)
    at Object.success (dashboard.js:1)
    at j (jquery-1.11.0.min.js:2)
    at Object.fireWith [as resolveWith] (jquery-1.11.0.min.js:2)
    at x (jquery-1.11.0.min.js:4)
    at XMLHttpRequest.b (jquery-1.11.0.min.js:4)

 

Any ideas what happened or how to fix it?

 

 

ps. when isnpecting in chrome, sources tab top>website>js>vendor>d3.v3.min.js in both examples is present, but is blank in not working one.

Also top>website>index.php?controller=AdminDashboard&token=(...) is blank

Edited by Smokovsky (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...