Title: Critical Error When Saving Table
Last modified: November 27, 2025

---

# Critical Error When Saving Table

 *  Resolved [vinothpichai17](https://wordpress.org/support/users/vinothpichai17/)
 * (@vinothpichai17)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/critical-error-when-saving-table/)
 * Hi WPDataTables Support,
 * I’m experiencing a **critical error** on my WordPress site when using WPDataTables.
   Today, even trying to save a table results in the following error:
 * > “There was an error while trying to save the table! error
   > Si è verificato un
   > errore critico sul tuo sito web.Scopri di più riguardo la risoluzione dei problemi
   > in WordPress.”
 * This prevents me from editing the site. Could you please advise on how to fix
   this issue?
 * Thank you,

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

 *  Plugin Support [Milos Jovanovic](https://wordpress.org/support/users/milosjovanovicwpdt/)
 * (@milosjovanovicwpdt)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/critical-error-when-saving-table/#post-18734819)
 * Hello,
 * Certainly, we can help you isolate this issue.
 * There are multiple factors to consider, so let’s start with some basic checks.
 * Can you please confirm what table type you’re using, and whether this is with
   the **Lite **(free) version of wpDataTables or the **Premium **version?
 * For example — if the table is **linked to a file** such as CSV, Excel, or similar,
   please check how many total rows the dataset contains.
 * If it has **between 2,000 and 5,000 rows**, you can try using our **Cache **feature
   for improved performance:
   [https://wpdatatables.com/documentation/table-features/caching-data-and-auto-update-cache-in-wordpress-tables/](https://wpdatatables.com/documentation/table-features/caching-data-and-auto-update-cache-in-wordpress-tables/)
 * However, if the table has **more than 5,000 rows**, then you would need to switch
   to an **imported table**:
   [https://wpdatatables.com/documentation/creating-new-wpdatatables-with-table-constructor/importing-data-to-editable-mysql-table-from-excel-or-csv-with-table-constructor/](https://wpdatatables.com/documentation/creating-new-wpdatatables-with-table-constructor/importing-data-to-editable-mysql-table-from-excel-or-csv-with-table-constructor/)
 * This allows you to use **server-side processing**:
   [https://wpdatatables.com/documentation/table-features/server-side-processing/](https://wpdatatables.com/documentation/table-features/server-side-processing/)
 * Server-side processing loads the table via AJAX one page at a time, instead of
   loading all rows at once — which is required for large datasets.
 * If you have any other questions about this, please feel free to open a premium
   ticket as described in this guide:
   [https://help.wpdatatables.com/en/articles/39-how-to-contact-support-with-your-premium-license](https://help.wpdatatables.com/en/articles/39-how-to-contact-support-with-your-premium-license)
 * If you don’t have a license, simply choose the _pre-purchase_ category.
 * This forum is only for the free plugin version, which is why we first need to
   clarify your table type, the size of your dataset, and your overall use case.
 * Kind regards,
   Milos
 *  Thread Starter [vinothpichai17](https://wordpress.org/support/users/vinothpichai17/)
 * (@vinothpichai17)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/critical-error-when-saving-table/#post-18735298)
 * **Hi Milos,
   Thanks for your response. Here are the details:
    - **wpDataTables version:** Lite (Free)
    - **Table type:** Google Sheet linked by URL
    - **Dataset size:** The table is **currently empty** (0 rows)
 * Despite being empty, I still get this error when trying to save the table:
 * > “There was an error while trying to save the table! error
   > Si è verificato un
   > errore critico sul tuo sito web.”
 * Elementor also fails to open, so something may be blocking the saving/AJAX process
   even with an empty table.
 * Can you please advise what could cause this error with a Google Sheet table in
   the free version?
 * Thank you!
 *  Plugin Support [Milos Jovanovic](https://wordpress.org/support/users/milosjovanovicwpdt/)
 * (@milosjovanovicwpdt)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/critical-error-when-saving-table/#post-18735771)
 * Hello,
 * Thank you for the additional details.
 * For wpDataTables to correctly generate a table from a Google Sheet, the source
   sheet needs to have at least one row with data when the table is created. If 
   the dataset is completely empty, the plugin can’t detect the structure and may
   fail when saving.
 * Please try the following:
    1. In your Google Sheet, add at least one dummy row of data under the headers.
    2. Create a **new test table** in wpDataTables from that sheet.
    3. Check if this new table can be saved and opened without errors.
    4. If it works, delete the dummy row, then refresh the page (_without hitting “
       Save changes” on the table settings_) and see if it then shows the “Table has
       no rows” message correctly.
 * If the new test table works, but the old one still throws a critical error, it
   usually means something in the Sheet column structure was changed after the table
   was created (for example: column names, order, adding or removing columns). In
   that case, the safest option is to recreate the table from the current version
   of the Sheet, as described here:
   [https://wpdatatables.com/documentation/creating-wpdatatables/creating-wpdatatables-from-google-spreadsheets/](https://wpdatatables.com/documentation/creating-wpdatatables/creating-wpdatatables-from-google-spreadsheets/)
 * One more important check:
   Do you have any **formulas **or **scripts **in the 
   source Google Sheet?If yes, please follow this guide to avoid issues with Google
   Sheets tables:[https://help.wpdatatables.com/en/articles/10-google-spreadsheet-with-formulas](https://help.wpdatatables.com/en/articles/10-google-spreadsheet-with-formulas)
 * Since Elementor is also reporting a critical error, it would additionally be 
   useful to enable WordPress debugging or check the server error log, to see the
   exact PHP error that is being triggered when saving the table. That will help
   determine whether the issue is coming from wpDataTables, another plugin, or the
   theme.
 * Let me know what happens with the test table and if you’re able to narrow it 
   down with these checks.
 * Kind regards,
   Milos
    -  This reply was modified 6 months, 1 week ago by [Milos Jovanovic](https://wordpress.org/support/users/milosjovanovicwpdt/).

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

The topic ‘Critical Error When Saving Table’ is closed to new replies.

 * ![](https://ps.w.org/wpdatatables/assets/icon-128x128.gif?rev=3010404)
 * [wpDataTables - WordPress Data Table, Dynamic Tables & Table Charts Plugin](https://wordpress.org/plugins/wpdatatables/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpdatatables/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpdatatables/)
 * [Active Topics](https://wordpress.org/support/plugin/wpdatatables/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpdatatables/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpdatatables/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Milos Jovanovic](https://wordpress.org/support/users/milosjovanovicwpdt/)
 * Last activity: [6 months, 1 week ago](https://wordpress.org/support/topic/critical-error-when-saving-table/#post-18735771)
 * Status: resolved