Title: Error when saving
Last modified: September 1, 2016

---

# Error when saving

 *  Resolved [Planetdune](https://wordpress.org/support/users/planetdune/)
 * (@planetdune)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-when-saving-5/)
 * Hello
 * I am getting the following error when trying to save my table:
    AJAX call failed:
   parsererror – SyntaxError: Unexpected token < in JSON at position 180. Try again
   while holding down the “Shift” key.
 * The table seemed to work before and nothing really changed except I added another
   500 rows.
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-when-saving-5/#post-7601313)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * This indicates that something on your site is adding content to the raw table
   data, when it’s being saved.
 * If possible, I’d like to take a direct look at this on your site. Could you therefore
   please get in touch via email (the address is in the main plugin file “tablepress.
   php”)? That way, I can investigate this directly. Thanks!
 * Regards,
    Tobias
 *  Thread Starter [Planetdune](https://wordpress.org/support/users/planetdune/)
 * (@planetdune)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-when-saving-5/#post-7601317)
 * I send you a email, thanks!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-when-saving-5/#post-7601321)
 * Hi,
 * thanks! I have received your email and will take a look as soon as possible!
 * Regards,
    Tobias
 *  Thread Starter [Planetdune](https://wordpress.org/support/users/planetdune/)
 * (@planetdune)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-when-saving-5/#post-7601356)
 * Thanks 🙂
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-when-saving-5/#post-7601437)
 * Hi,
 * ok, I was now able to take a look.
 * Unfortunately, I have bad news. It seems that your site was somehow hacked, and
   that a malicious script is appending spam links into your posts and pages. It
   seems that this is done by a script that runs on every request, so that PHP/server
   features like `auto_prepend_file` or `auto_append_file` might be involved.
 * When using “View source” on your site, you can for example see HTML code like
 *     ```
       <div style="position: absolute; top: -3494px"><a href="http://...">...</a></div>
       ```
   
 * (I removed the URL and link text here), appended to pretty much all links in 
   the HTML code.
 * That malicious script tries the same on the return value of the TablePress save
   process, but as it breaks the JSON format, TablePress detects this.
 * I therefore suggest that you check [https://codex.wordpress.org/FAQ_My_site_was_hacked](https://codex.wordpress.org/FAQ_My_site_was_hacked)
   for hints and ideas. You might have to work together with your webhost company
   to fix this hacking issue.
 * Regards,
    Tobias
 *  Thread Starter [Planetdune](https://wordpress.org/support/users/planetdune/)
 * (@planetdune)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-when-saving-5/#post-7601482)
 * Hello,
 * I think I patched up the exploit and now it does all work as normal, thanks!
 *  Thread Starter [Planetdune](https://wordpress.org/support/users/planetdune/)
 * (@planetdune)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-when-saving-5/#post-7601483)
 * /resolved 🙂
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-when-saving-5/#post-7601491)
 * Hi,
 * awesome! Good to hear that you were able to fix this!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](https://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

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

The topic ‘Error when saving’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/error-when-saving-5/#post-7601491)
 * Status: resolved