Okay, so after reading responses on here and a couple of other sites, I have finally found a way to get rid of this annoying error. I can not guarantee that this will work for everyone, but it worked for me and I am no longer getting the popup. I will try to be as detailed as possible in describing what I did below.
- Following Eric Root's advice here I backed up my drive and went to Library/Preferences in search of the com.apple.dock.extra.plist to delete BUT it wasn't even there. Instead, I seen com.apple.dock.plist and three variants of the same plist as text files with 0kb worth of data, so I'm guessing those were the corrupted files. So I deleted all of the com.apple.dock.plist files and it's variants from the Library/Preferences folder (JUST THE DOCK FILES, and DO NOT EMPTY the trash just yet.)
- After restarting the laptop, this message popped up again. So I looked around online some more, and found the problem. When you click on report, you have an option to see the details of the report (I'm new to errors, so I never knew this) and after doing that, the error pointed me to ~Library/CoreServices/Dock/Contents/XPCServices/ .. After going to that destination, there were two dock files inside of the folder, I moved them to the trash.
- After moving those files to the trash, I followed Satcomer's advice here and visited /Your hardDrive/Users/YourUserName/Library/Preferences/ looking for the files com.apple.dock.plist & com.apple.dock.db. OS X automatically rebuilt the deleted com.apple.dock.plist from step 1 after the restart, but since the error came up again, I deleted it again.
- After browsing through all of the Library folders on my laptop, there's three I believe, I noticed in the /HardDrive/Library/Preferences folder a file named com.apple.dockfixup. I moved that to the trash and restarted my computer and the error didn't pop up and hasn't popped up since. So right before writing this, I emptied the trash and restarted my laptop one more time and still, no message and I believe everything deleted was rewritten correctly and is now fixed.
For those not wanting to go through the detailed version, here's a fast way to fix the problem:
1. In Finder, hold option, click Go and click on Library. Then navigate to this folder Library/Preferences and move anything that has com.apple.dock in it to the trash, but don't empty the trash.
2. Visit this location on your computer: HardDrive/System/Library/CoreServices/
-Right click on Dock
-Click Show Contents, then click the contents folder
-Click XPCServices and move the dock files inside of it to the trash, again not emptying the trash.
3. Visit this location on your computer: HardDrive/Library/Preferences and move the com.apple.dockfixup.plist to the trash, again not emptying the trash.
4. Restart your computer. You should no longer see the message and your dock should be reset, you'll just have to re-add your apps to your dock, but everything should be working regularly again. After restarting, you can go ahead and empty the trash. Your OS automatically rewrites the deleted plist files.
Hope this helps you all.