• Resolved jeudice

    (@jeudice)


    Hello,

    Sorry for my English, i ahve the problem :

    Echec d’enregistrement: AJAX call failed: parsererror – SyntaxError: Unexpected token < in JSON at position 0. Try again while holding down the “Shift” key.

    Web site : http://www.jeudice.fr

    · Website: http://www.jeudice.fr
    · TablePress: 1.11
    · TablePress (DB): 40
    · TablePress table scheme: 3
    · Plugin installed: 2020/06/28 10:21:40
    · WordPress: 5.4.2
    · Multisite: no
    · PHP: 7.3.18
    · mysqli Extension: true
    · mySQL (Server): 5.6.42-log
    · mySQL (Client): 5.5.52
    · ZIP support: yes
    · UTF-8 conversion: yes
    · WP Memory Limit: 40M
    · Server Memory Limit: 256M
    · WP_DEBUG: false
    · WP_POST_REVISIONS: true

    Best regards,

    Philippe

Viewing 1 replies (of 1 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    This error message indicates that something in the HTTP AJAX request is being blocked, e.g. by the server software. Then, instead of passing the request on to TablePress’ PHP files, the request is blocked and an HTML error page is returned. This HTML format is different to the expected JSON format, so that this error message appears.

    To fix this, you will need to find out why the server software (e.g. a firewall or a rule in the mod_security webserver extension) are blocking the request. Most likely they are giving a “false positive” here. For this, you could maybe check the server’s error log file for more information, potentially with the help of your webhost support team. They would then also have to modify or relax the rules of that server software.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘SyntaxError: Unexpected token’ is closed to new replies.