Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version.
PHP interface, when submitting data using ajax post method, an error is reported:
Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead.
Solution : Find always_populate_raw_post_data in php.ini , and remove the comment ';' from the line.