• Resolved Thomas

    (@enungman)


    Saving failed: AJAX call failed: parsererror - SyntaxError: JSON.parse: unexpected character. Try again while holding down the “Shift” key.

    The table has been working fine for quite some time, but all of a sudden this comes upp when adding one new row and trying to save.. Help?! 😐

    http://ww.wp.xz.cn/extend/plugins/tablepress/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Thomas

    (@enungman)

    Holding down “shift” gives me the exact same error by the way..

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Thomas,

    thanks for your post, and sorry for the trouble.

    This means that another plugin or the theme is interfering with the table saving, most likely by hooking into the saving of a post in WordPress and manipulating the content. PHP can then no longer decode the JSON format :-/

    To fix this, I recommend to deactivate all plugins except TablePress and to switch to the WordPress default theme TwentyTwelve. Then activate the other plugins again, one by one, and each time check if the error happens again. With that method, you can find the plugin that causes this and we can look into ways to fix this.

    Regards,
    Tobias

    Thread Starter Thomas

    (@enungman)

    Seems to be a conflict with the latest upgrade of “WordPress Jetpack”.

    There’s some kind of “GoDaddy”-reference in there somewhere that once in a while causes an errormessage at the same time as the tablepress error, but i can live without that plugin (it’s in the “share”-function).

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for investigating this! Good to hear that you found a probable cause!
    Can you give me some more details on these findings, i.e. where you found that “GoDaddy” reference, and what that other error message is?
    Maybe I can find the problem in the Jetpack code with the help of that information. Thanks!

    Regards,
    Tobias

    Thread Starter Thomas

    (@enungman)

    I’ll copy it for you next time i see it 🙂
    I didn’t exactly find the godaddy reference per say, but the errormessage itself mentioned godaddy.

    Now all of a sudden this comes up too when i try to re-save the table Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 72 bytes) in /storage/content/70/*/*/public_html/wp-includes/formatting.php on line 1415
    Where * is the exakt domain of course..

    I’ll keep investigating 🙂

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    yes, that would be great, if that error message comes up again.

    Regarding the new error: That means that the PHP process on the server reaches the allowed memory limit, which can happen if you are using many plugins, for example. The easiest fix would be to increase the limit, by following the instructions in the Codex at http://codex.ww.wp.xz.cn/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    Regards,
    Tobias

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

The topic ‘SyntaxError: JSON.parse: unexpected character’ is closed to new replies.