Fix for 'array-to-string-conversion' bug in request-functions.php