• Resolved Planetdune

    (@planetdune)


    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://www.ads-software.com/plugins/tablepress/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    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

    (@planetdune)

    I send you a email, thanks!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks! I have received your email and will take a look as soon as possible!

    Regards,
    Tobias

    Thread Starter Planetdune

    (@planetdune)

    Thanks ??

    Plugin Author Tobias B?thge

    (@tobiasbg)

    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="https://...">...</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.www.ads-software.com/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

    (@planetdune)

    Hello,

    I think I patched up the exploit and now it does all work as normal, thanks!

    Thread Starter Planetdune

    (@planetdune)

    /resolved ??

    Plugin Author Tobias B?thge

    (@tobiasbg)

    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 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.