methnen / m-chart-highcharts-library

Adds Highcharts library to M Chart.
Other
7 stars 1 forks source link

Javascript errors #12

Closed JuanDBB closed 3 years ago

JuanDBB commented 5 years ago

Hello, I'm experiencing a javascript error with highcharts.js:

El recurso de “***/wp-content/plugins/m-chart/components/external/highcharts/highcharts.js?ver=1.6” fue bloqueado debido a una discordancia del tipo MIME (“text/html”) (X-Content-Type-Options: nosniff)

Do you know why I'm getting it please?

Thank you in advance

methnen commented 5 years ago

Hey Juan,

I had to run that through Google Translate since I don't speak Spanish. However, according to the translation, your browser is disabling the script because the server is sending it as text/html instead of javascript. My wild guess is that its possibly some sort of server configuration issue.

I've actually never seen this error before myself.

The script is enqueued using default WordPress functionality so there's nothing unusual about how the script is being loaded by the plugin.

JuanDBB commented 5 years ago

Thank you )) I will ask the people running the server.

methnen commented 5 years ago

If you have any more information that might point to the issue or are comfortable with me taking a look at the issue directly let me know.

Also feel free to email me directly at jamie AT methnen.com