Title: Can&#8217;t insert data
Last modified: September 6, 2021

---

# Can’t insert data

 *  Resolved [matteorubert](https://wordpress.org/support/users/matteorubert/)
 * (@matteorubert)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/cant-insert-data/)
 * Hi
 * I’m trying to use the plugin, but I can’t see data tables and the importing behaviour
   are not working.
 * Does the plugin need jQuery or other libraries?

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

 *  Plugin Author [methnen](https://wordpress.org/support/users/methnen/)
 * (@methnen)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/cant-insert-data/#post-14844550)
 * [@matteorubert](https://wordpress.org/support/users/matteorubert/) there are 
   no particular requirements other than WP but yes, jQuery is a requirement. If
   it’s not being enqueued by default already it should be enqueuing it in time 
   for you.
 * What version of WP are you using? Anything unusual about your WP install?
 *  Thread Starter [matteorubert](https://wordpress.org/support/users/matteorubert/)
 * (@matteorubert)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/cant-insert-data/#post-14849731)
 * Hi Methnen
 * I looked up in the plugin code, so I discover it doesn’t enque correctly all 
   the files it needs.
    In the m-chart.php file all the sources are called by require_once
   __DIR__ etc. This code isn’t able to resolve the local MAMP url I was working
   on. The printed url came out without the port specification: [http://localhost/etc](http://localhost/etc)
   instead of [http://localhost:8888/etc](http://localhost:8888/etc) I solved this
   issue trying the plugin on the online dev version, where everything works fine(
   and fits all my needs!). Maybe you already have a solution for this issue, if
   not think about it!
 * Bye, Matteo
 *  Plugin Author [methnen](https://wordpress.org/support/users/methnen/)
 * (@methnen)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/cant-insert-data/#post-14852060)
 * Interesting. That looks like more a WP setup issue than with the plugin in particular.
   The script stuff is building the URLs based on the directory and what WP considers
   the correct domain info.
 * I actually use MAMP for dev stuff myself and never actually seen that issue.
 *  Plugin Author [methnen](https://wordpress.org/support/users/methnen/)
 * (@methnen)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/cant-insert-data/#post-14852061)
 * Marking as resolved.

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

The topic ‘Can’t insert data’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [methnen](https://wordpress.org/support/users/methnen/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/cant-insert-data/#post-14852061)
 * Status: resolved