Title: Error creating table
Last modified: March 18, 2020

---

# Error creating table

 *  [holowkass](https://wordpress.org/support/users/holowkass/)
 * (@holowkass)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-creating-table/)
 * Hello,
    Whenever I try to create a table, even simple one with one text column,
   I get the following errors: Warning: Invalid argument supplied for foreach() 
   in /home/customer/www/itayf5.sg-host.com/public_html/wp-content/plugins/wp-data-
   access/WPDataAccess/Design_Table/WPDA_Design_Table_Form.php on line 779
 * ERROR: Invalid structure [missing element design_mode]
 * ERROR: Invalid structure [missing element engine]
 * ERROR: Invalid structure [missing element collation]
 * ERROR: Invalid structure [missing element table]
 * ERROR: Invalid structure [missing element indexes]
 * ERROR: CREATE TABLE failed

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/error-creating-table/#post-12559583)
 * Hi,
 * Welcome! 🙂
 * The Data Designer works in two phases:
    (1) Create a table design (2) Create 
   a physical table (in the database) from your design
 * Before you can create a physical table, you need to save your design. Initially
   the create table button should be disabled. I see now that this does not happen.
   I’ll fix this!
 * Can you confirm that it works if you save your table design first and then click
   on the create table button?
 * Thanks,
    Peter
 *  Plugin Author [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * (@peterschulznl)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-creating-table/#post-12586252)
 * Hi,
 * What is the status of this topic? Are you still working on it? Or can I close
   it?
 * Thanks,
    Peter
 *  Thread Starter [holowkass](https://wordpress.org/support/users/holowkass/)
 * (@holowkass)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-creating-table/#post-12586555)
 * Sorry I’ve been swamped in work and haven’t got the chance to check
    I’m using
   the plugin for a passion project so it’s kind of low priority I’ll check later
   today Thank you

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

The topic ‘Error creating table’ 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: [holowkass](https://wordpress.org/support/users/holowkass/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/error-creating-table/#post-12586555)
 * Status: not resolved