Using command systemctl restart network will get you this error, and fix is simple.
I will quickly show you new commands for restarting network.
Lets say you are manually configuring specific network interface with static ip in /etc/sysconfig/network-scripts/ and your interface is named ens3.
After you are done configuring specific network interface, you can restart it by issuing following command (replace ens3 with your interface name)
sudo ifdown ens3
sudo ifup ens3
Also, you can restart you network by issuing following command
sudo systemctl restart NetworkManager.service
You can also stop and start it by issuing
sudo systemctl stop NetworkManager.service
sudo systemctl start NetworkManager.service