When I make multiple Ajax requests (see screen capture below) one works I am getting unusual behaviour. When I run it locally, all requests succeed, including the interactions with php on a server. When I upload everything onto the server and run online, the second request (treatments) fails. Is there an obvious error here I am missing?