While saving product
If u get Fatal Error: Uncaught exception ‘Exception’ with message …
Than just put below code in your file and try to set store id:
This will solve your problem and will work like charm..
If this post will be helpful to you don’t forget to comment on this post.
– Mayank Zalavadia