Title: Missing argument error when editing
Last modified: May 5, 2020

---

# Missing argument error when editing

 *  [mikefoley](https://wordpress.org/support/users/mikefoley/)
 * (@mikefoley)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/missing-argument-error-when-editing/)
 * Hi Peter,
 * I’m trying to use WP Data Access to edit an entry in a table but I’m getting 
   this error message:
 * ERROR: Wrong arguments [missing message text argument]
 * The table has four columns: a tinyint id column which is indexed and the primary
   key, two varchar columns, and a text column. The text column is the one I’m trying
   to edit, but I get the error message above regardless of if I make any changes
   to any, all, or none of the columns in the entry before hitting save.
 * I can edit the entries with queries in phpMyAdmin without an error, but my client
   is the owner of the site and using your plugin is much more convenient for them.
   Do you have an idea what could be happening here?

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

 *  Plugin Author [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * (@peterschulznl)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/missing-argument-error-when-editing/#post-12787540)
 * Welcome Mike! 🙂
 * That’s a strange message! It means the message box was called without a message.
 * What do you see? Is the list table shown correctly? If the data entry form show
   correctly? Are the values correct? When do you get this error? Can you add a 
   screenshot?
 * Best regards,
    Peter
 *  Plugin Author [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * (@peterschulznl)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/missing-argument-error-when-editing/#post-12791142)
 * Hi Mike,
 * I have been further investigating your topic. It turns out to be a bug. The plugin
   handles tinyint columns as checkboxes. It should only handle tinyint(1) columns(
   booleans) as such. It’s already fixed. I’ll put it online asap. Just need to 
   fix another issue first as well. You can change the tinyint to smallint if you
   you don’t want to wait…
 * Thank you for your feedback!
 * Best regards,
    Peter
 *  Thread Starter [mikefoley](https://wordpress.org/support/users/mikefoley/)
 * (@mikefoley)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/missing-argument-error-when-editing/#post-12792153)
 * Thanks a lot Peter, I’ll try smallint later today.

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

The topic ‘Missing argument error when editing’ is closed to new replies.

 * ![](https://ps.w.org/wp-data-access/assets/icon-256x256.png?rev=3299063)
 * [WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards](https://wordpress.org/plugins/wp-data-access/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-data-access/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-data-access/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-data-access/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-data-access/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [mikefoley](https://wordpress.org/support/users/mikefoley/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/missing-argument-error-when-editing/#post-12792153)
 * Status: not resolved