While I am saving products I got this error message "No data to save", sometimes it give this message and saving the product on the same time, which mean the product appear on admin and sometimes it gives me this message and the product not saved correctly for example the sample products saved while the configurable product doesn't, can anyone help me to solve this issue.
That message came from:
On Magento 2.1.10 is the line 154.
It seems that, for some reason in some case the $data variable is empty.
Maybe yoy can start there to debug the variable and check what happens when you get the message.
it appear when add large number of options which is the sample products of the configurable product
Maybe the post length is greater than the configuration value?
I guess maybe your PHP configuration for value post_max_size isn't enough.
Maybe you should ask to your hosting if you can increase the value of that variable on your PHP configuration.