Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Plugin (?) issues after hosting migration. 500 error, cannot get on site or wp-admin. WordPress

  • SOLVED

Hello,

Yesterday, I migrated from Bluehost to A2. It seems wp-super-cache and wordfence have played havoc, now I'm getting a 500 error.

I have spoken to A2 support, here is what they said:

The issue is actually that your Wordpress instance still has several references to the directory path to your old host.

PHP Warning: include(/home1/tigresna/public_html/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: No such file or directory in /h
ome/tigresna/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 70
Warning: include(/home1/tigresna/public_html/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: No such file or directory in /home/t
igresna/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 70
PHP Warning: include(/home1/tigresna/public_html/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: No such file or directory in /h
ome/tigresna/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 70
Warning: include(/home1/tigresna/public_html/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: No such file or directory in /home/t
igresna/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 70
PHP Warning: include(): Failed opening '/home1/tigresna/public_html/wp-content/plugins/wp-super-cache/wp-cache-base.php' for inclusion (include_path='phar:///usr/bin/wp/vendor/phpunit/php-token-stream:phar:///usr/bin/wp/vendor/phpunit/phpunit-mock-objects:phar:///usr/bin/wp/vendor/phpunit/php-code-coverage:phar:///usr/bin/wp/vendor/phpunit/phpunit:phar:///usr/bin/wp/vendor/symfony/yaml:.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/tigresna/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 70
Warning: include(): Failed opening '/home1/tigresna/public_html/wp-content/plugins/wp-super-cache/wp-cache-base.php' for inclusion (include_path='phar:///usr/bin/wp/vendor/phpunit/php-token-stream:phar:///usr/bin/wp/vendor/phpunit/phpunit-mock-objects:phar:///usr/bin/wp/vendor/phpunit/php-code-coverage:phar:///usr/bin/wp/vendor/phpunit/phpunit:phar:///usr/bin/wp/vendor/symfony/yaml:.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/tigresna/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 70
PHP Warning: include_once(/home1/tigresna/public_html/wp-content/plugins/wp-super-cache/ossdl-cdn.php): failed to open stream: No such file or directory in /home/tigresna/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 90
Warning: include_once(/home1/tigresna/public_html/wp-content/plugins/wp-super-cache/ossdl-cdn.php): failed to open stream: No such file or directory in /home/tigresna/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 90
PHP Warning: include_once(): Failed opening '/home1/tigresna/public_html/wp-content/plugins/wp-super-cache/ossdl-cdn.php' for inclusion (include_path='phar:///usr/bin/wp/vendor/phpunit/php-token-stream:phar:///usr/bin/wp/vendor/phpunit/phpunit-mock-objects:phar:///usr/bin/wp/vendor/phpunit/php-code-coverage:phar:///usr/bin/wp/vendor/phpunit/phpunit:phar:///usr/bin/wp/vendor/symfony/yaml:.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/tigresna/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 90
Warning: include_once(): Failed opening '/home1/tigresna/public_html/wp-content/plugins/wp-super-cache/ossdl-cdn.php' for inclusion (include_path='phar:///usr/bin/wp/vendor/phpunit/php-token-stream:phar:///usr/bin/wp/vendor/phpunit/phpunit-mock-objects:phar:///usr/bin/wp/vendor/phpunit/php-code-coverage:phar:///usr/bin/wp/vendor/phpunit/phpunit:phar:///usr/bin/wp/vendor/symfony/yaml:.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/tigresna/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 90
[Tue Mar 20 16:05:23.811025 2018] [cgi:error] [pid 7582] [client 10.80.0.132:48902] AH01215: PHP Fatal error: Unknown: Failed opening required '/home3/tigres
na/public_html/wordfence-waf.php' (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in Unknown on line 0: /usr/local/cpanel/cgi-sy
s/ea-php56

You will notice that you have plugins being called inside of your database and elsewhere that are looking for the path of:

/home3/tigresna/ and /home1/tigresna/


You will need to go through your Wordpress settings and update those paths to reflect the path to your user here at A2.

All those paths to the home directory should be:

/home/tigresna
________________________

Then they said this:

The best way to make those changes is to either go into the database and do a search and replace to change all of those paths that point to the old host.

You can also disable the plugins by going into the folder where the Wordpress instance is installed and rename the plugins folder to something like plugins.off and this will disable all the plugins.

If your theme is also tied to the path of the old host you may have to do the same thing with the theme.

____

I tried renaming the plugin folder, but nothing happened.

Sadly, the rest is way beyond me. I poked around and found one example of "home1" in wp config, but deleting the 1 changed nothing.

I cannot get onto the site nor the wp-admin.

I would like someone to get my site back online asap and fix any other issues relating to the migration.

Answers (1)

2018-03-20

Fakhri Setiawan answers:

hi,
i think its about htaccess or something else.
please let me try