Loco Translate
Multiple errors when saving (3 posts)

  1. Ismael Latorre
    Posted 1 year ago #


    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.


  2. timwhitlock
    Plugin Author

    Posted 1 year ago #

    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.

  3. timwhitlock
    Plugin Author

    Posted 1 year ago #

    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)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Loco Translate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic