Reputation: 307
So as the title suggests, this happened the 2nd time on our production server on nginx. It is just in few mins both times. But it is enough to ruin our business as our code depends heavily on $_REQUEST
I made an experiment of changing $_REQUEST to $_GET and $_POST :
$_REQUEST['postId'] => $_GET ['postId']
and it works (during that downtime).
We used $_REQUEST almost everywhere, we won't use it in the future but...
Note: I have googled but what I found couldn't explain and just made me more confused
Upvotes: 1
Views: 340
Reputation: 2632
$_REQUEST = array_merge($_GET, $_POST);
Bet this gonna solves your problem! Dang php!
Upvotes: 1