I've been tasked to complete what appears to be a migration of a Wordpress site from a development URL (/newblog
) to a production URL (root) that seemed to have already been attempted by somebody else and got messy somewhere along the way and am seeing errors I have never seen before.
After seeing some really strange things (I tracked down an error earlier that involved me simply resaving a file with the same contents - it was as if some kind of cache was in operation), I got an error like what I pasted below (obviously examplesite.com
is a made up domain).
What I don't understand is that there is no such directory called /newblog anymore, so how can it be saying the error is found in /var/www/examplesite.com/newblog/wp-content/plugins/akismet/widget.php
?
I've checked the database and there is no reference to any path with /newblog
in it.
Warning: include_once(/var/www/examplesite.com/newblog/wp-content/plugins/akismet/widget.php): failed to open stream: No such file or directory in /var/www/examplesite.com/newblog/wp-content/plugins/akismet/akismet.php on line 49
Warning: include_once(): Failed opening '/var/www/examplesite.com/newblog/wp-content/plugins/akismet/widget.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/examplesite.com/newblog/wp-content/plugins/akismet/akismet.php on line 49
Warning: require_once(/var/www/examplesite.com/newblog/wp-content/plugins/jetpack/class.jetpack-user-agent.php): failed to open stream: No such file or directory in /var/www/examplesite.com/newblog/wp-content/plugins/jetpack/jetpack.php on line 4467
Fatal error: require_once(): Failed opening required '/var/www/examplesite.com/newblog/wp-content/plugins/jetpack/class.jetpack-user-agent.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/examplesite.com/newblog/wp-content/plugins/jetpack/jetpack.php on line 4467