WordPress.org

Ready to get started?Download WordPress

Forums

Loco Translate
Multiple errors when saving (3 posts)

  1. Ismael Latorre
    Member
    Posted 3 months ago #

    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.

    https://wordpress.org/plugins/loco-translate/

  2. timwhitlock
    Member
    Plugin Author

    Posted 3 months 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
    Member
    Plugin Author

    Posted 3 weeks 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)

Reply

You must log in to post.

About this Plugin

About this Topic