• Resolved oroszi

    (@oroszi)


    I had this problem and it took some time, but eventually, I figured out what was causing it (in my case). As a premise, I did literally everything to fix this, from updating (everything plugins, php, WordPress, etc), disabling plugins, changing themes, resetting permalinks, etc. with no results. I contacted server support, and their response was super simple: nothing wrong on their side, but if I pay a premium support service, they can fix it. At some point, I’ve been hit by malware, I contact server support asking about what kind of security they provide, and they gave me the same answer. I decided to run a scan. The php.ini in the root, in the folders wp-admin and wp-includes, have been changed. I fix them manually and I resolved the problem. I couldn’t find any documentation about the relationship between malware and The response is not a valid JSON response.

    This is what I found:
    safe_mode = Off
    disable_functions = NONE
    safe_mode_gid = OFF
    open_basedir = OFF
    exec = ON
    shell_exec?=?ON

    This is how I changed it:
    safe_mode = Off
    disable_functions = system, shell_exec, exec
    safe_mode_gid = Off
    open_basedir =

    It worked for me and I hope it will work for others.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Kai Hao

    (@kevin940726)

    Thanks for sharing your experience! This forum is for support topics though, others might not be able to find your solution if it’s not marked as “solved”. I recommend marking it as “solved” so that others with the same issue can find it easier!

    Thread Starter oroszi

    (@oroszi)

    Kai Hao, thank you for the tip! As you can tell, I am new to this… Thank you again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘The response is not a valid JSON response.’ is closed to new replies.