Thank you for the helpful advice. I figured out that it was a cache plugin causing the error so I had to deactivate it before creating a backup and downloading the backup onto the Mamp/Wordpress program by using the WPVivid plugin, and now everything is working fine.