Support » Plugin: Loco Translate » Multiple errors when saving

  • Hi,

    Great plugin, but it is not working for me so far.

    I get this error when I try and save the po file:

    Error: SyntaxError: JSON.parse: unterminated string at line 3 column 71 of the JSON data

    And this one when I try to synchronize:

    Error: SyntaxError: JSON.parse: unexpected end of data at line 3 column 6448 of the JSON data

    I am running WP 3.9.1 on PHP5.3 / FastCGI with PHP Cache

    File permissions for the language folder and its files are set at 777

    Please help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author timwhitlock


    This sounds like the browser is getting something other than JSON from the server’s response. The most likely cause is a PHP error that outputs HTML, but I need more information to find out what that error is.

    Do you have any PHP error in your server logs?

    If you open your browser’s network inspector (in dev tools) can you see the erroneous Ajax response data? This output will most likely provide the answer.

    Plugin Author timwhitlock


    Do you have any further information, so I can look at this bug?

    Please note a new version has been published since this ticket was opened (1.4.6)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multiple errors when saving’ is closed to new replies.