Title: New installation doesn&#8217;t work
Last modified: September 28, 2018

---

# New installation doesn’t work

 *  Resolved [advanto](https://wordpress.org/support/users/advanto/)
 * (@advanto)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/new-installation-doesnt-work/)
 * Hello,
 * Scenario:
    WP 4.9.8 PHP 7.0.30 Theme: Avada
 * I’ve installed this plugin but when try to create a chart the form doesn’t show
   the chart I’m creating and all the action buttons are disabled.
    Inspecting console
   messages there is:
 *     ```
       TypeError: window[(("m_chart_chartjs_" + m_chart_admin.post_id) + "_1")].chart is undefined[Més informació] m-chart-chartjs-admin.js:115:3
       	m_chart_chartjs_admin.refresh_chart http://www.fundacioncema.org/wp-content/plugins/m-chart/components/js/m-chart-chartjs-admin.js:115:3
       	dispatch http://www.fundacioncema.org/wp-admin/load-scripts.php:3:12392
       	add/r.handle http://www.fundacioncema.org/wp-admin/load-scripts.php:3:9156
       	trigger http://www.fundacioncema.org/wp-admin/load-scripts.php:3:11571
       	a.event.trigger http://www.fundacioncema.org/wp-admin/load-scripts.php:9:8273
       	trigger/< http://www.fundacioncema.org/wp-admin/load-scripts.php:3:18983
       	each http://www.fundacioncema.org/wp-admin/load-scripts.php:2:2879
       	each http://www.fundacioncema.org/wp-admin/load-scripts.php:2:844
       	trigger http://www.fundacioncema.org/wp-admin/load-scripts.php:3:18962
       	m_chart_admin.refresh_chart/< http://www.fundacioncema.org/wp-content/plugins/m-chart/components/js/m-chart-admin.js:484:4
       	i http://www.fundacioncema.org/wp-admin/load-scripts.php:2:27444
       	fireWith http://www.fundacioncema.org/wp-admin/load-scripts.php:2:28213
       	y http://www.fundacioncema.org/wp-admin/load-scripts.php:4:22719
       	c http://www.fundacioncema.org/wp-admin/load-scripts.php:4:26925
       ```
   
 * How can I solve this?
 * Thankyou
    -  This topic was modified 7 years, 8 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
    -  This topic was modified 7 years, 8 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Fixed formatting

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

 *  Plugin Author [methnen](https://wordpress.org/support/users/methnen/)
 * (@methnen)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/new-installation-doesnt-work/#post-10734039)
 * Hey Advanto,
 * Is there any chance I can take a look at this myself? The error implies that 
   the template that loads the chart code isn’t there. But I can’t say for sure 
   without seeing more details.
 * jamie AT methnen.com
 *  Plugin Author [methnen](https://wordpress.org/support/users/methnen/)
 * (@methnen)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/new-installation-doesnt-work/#post-10734064)
 * Just to follow up. I wanted to make sure I didn’t miss anything somehow and tried
   a fresh install of M Chart straight off of the wordpress.org servers on a clean
   install of WP and can’t duplicate this. So I’l definitely needs to see it in 
   action on your install to have a chance of figuring it out.
 *  Thread Starter [advanto](https://wordpress.org/support/users/advanto/)
 * (@advanto)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/new-installation-doesnt-work/#post-10738319)
 * Hi,
 * I prefer to send you credentials by email.
 *  Plugin Author [methnen](https://wordpress.org/support/users/methnen/)
 * (@methnen)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/new-installation-doesnt-work/#post-10739551)
 * Yep that’s why my email address was at the bottom of that first reply:
 * jamie AT methnen.com
 *  Plugin Author [methnen](https://wordpress.org/support/users/methnen/)
 * (@methnen)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/new-installation-doesnt-work/#post-10740397)
 * Hey [@advanto](https://wordpress.org/support/users/advanto/),
 * Looking at things in the back end I’m pretty sure there’s something in the theme
   that’s conflicting with Chart.js. I’m not entirely sure off the top of my head
   WHY.
 * However, you can see some color picker code failing with a TypeError well before
   any of the M Chart stuff happens. Then there’s another TypeError related to the
   earlier color picker code and then the M Chart error with the Chart.js error 
   happening.
 * The Chart.js code that would build the JS object that the M Chart code is in 
   the page but not triggering, probably because one of those two Type Errors that
   happened earlier prevented it in some way.
 * I checked other post types and they don’t have that color picker error occurring
   so I’m guessing at a conflict between the Chart.js code in the page and the color
   picker code.
 * I’m unfamiliar with the Avada theme but is there a way to not load the Avada 
   Options meta box for a specific post type? If so that’s likely an easy solution.
 * If not, I’d probably have to get SFTP/FTP access to take a closer look at the
   Avada theme and how it works/is conflicting with the Chart.js code.
 * Is there a staging or development server you have available where I might do 
   that?
    -  This reply was modified 7 years, 8 months ago by [methnen](https://wordpress.org/support/users/methnen/).
    -  This reply was modified 7 years, 8 months ago by [methnen](https://wordpress.org/support/users/methnen/).
    -  This reply was modified 7 years, 8 months ago by [methnen](https://wordpress.org/support/users/methnen/).
 *  Thread Starter [advanto](https://wordpress.org/support/users/advanto/)
 * (@advanto)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/new-installation-doesnt-work/#post-10741727)
 * Hello [@methnen](https://wordpress.org/support/users/methnen/),
 * Thanks for you support.
    I’m sorry but we don’t have development server at this
   moment. I’ve been looking for in avada support and community and found nothing
   helping. For now we will try other plugins.
 *  Plugin Author [methnen](https://wordpress.org/support/users/methnen/)
 * (@methnen)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/new-installation-doesnt-work/#post-10743423)
 * Sorry we couldn’t figure it out. I’d still be happy to take a further look if
   you can pass me the Avada theme (and any required plugins) for testing purposes.
   I’d then possibly be able to recreate the issue on my local machine.
 * Send me an email if that’s something you’d be interested in.

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

The topic ‘New installation doesn’t work’ is closed to new replies.

 * ![](https://ps.w.org/m-chart/assets/icon-256x256.png?rev=3472197)
 * [M Chart](https://wordpress.org/plugins/m-chart/)
 * [Support Threads](https://wordpress.org/support/plugin/m-chart/)
 * [Active Topics](https://wordpress.org/support/plugin/m-chart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/m-chart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/m-chart/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [methnen](https://wordpress.org/support/users/methnen/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/new-installation-doesnt-work/#post-10743423)
 * Status: resolved