You can fix this by removing the com.apple.Safari folder that was located in the ~/Library/Containers folder.
There are 2 ways to delete the folder.
The easisest way is to quit Safari, and them open the terminal app.
In the terminal type in the following command: rm -r ~/Library/Containers/com.apple.Safari followed by the Return key.
Or you can do this manually by following these steps.
1. Quit Safari
2. In the Finder, while holding the option key click on the Go menu and select Library
3. Locate the Containers folder and open it.
4. Locate the folder titled com.apple.Safari and delete it.
** Note: If you use the Favorite toolbar then after you do either of these methods, you will need to go to the View menu in Safari and select Show Favorits Bar.