I had the same problem after migrating from my localhost for a web server.
I noticed that there were differences between the load-scripts.php that was being generated by localhost and what was being generated by the web server. The web server was generating “double quotes” on some parts of que code!
THE SOLUTION: I compared both php.ini and noticed that on my web server the options of “magic_quotes” were enabled. Disable them (like on localhost’s php.ini) and problem solved!