0

Hi there I just got this error today using php5.6 and Laravel 5.2

Error:

Deprecated: 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. in Unknown on line 0

The Part I don't understand is "use the php://input stream instead. in Unknown on line 0"

I am still getting this error and the second part I don't understand with the php://input stream

Deprecated: 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. in Unknown on line 0

Warning: Cannot modify header information - headers already sent in Unknown on line 0 {"supplier_id":["Please choose a supplier"],"category_id":["The category id field is required."],"brand_id":["Please choose a brand"],"keywords":["The keywords field is required."],"sku":["The sku field is required."],"quantity":["The quantity field is required."],"unit_price":["The unit price field is required."],"sell_price":["The sell price field is required."],"weight":["The weight field is required."],"dimensions":["The dimensions field is required."],"title":["The title field is required."]}

ONYX
  • 5,679
  • 15
  • 83
  • 146

0 Answers0