• Resolved Fabloria

    (@fabloria)


    Hi

    I have a weird issue with my WordPress site and I was wondering if someone can help me with the solution.

    This is what is happening:
    My website was working fine and I was going to install Pay Pal Express plugin. So due to Paypal requirements I asked my hosting provider to update PHP and cURL to the latest versions.
    So they told me in order to do this, they changed from a windows server to a linux server, and moved all files. They made a migration.

    Now my website is not working properly, for example:
    My home loads fine, but other pages display a white page.
    Also I get a blank page if I go to my wp-admin, so I can’t login.

    This is what I have tried:
    Via FTP, I renamed my theme folder name and plugins folder name, but nothing happened
    I enable debug mode, and it did’t display any issues.
    I contacted my hosting provider and they told me everything is fine and they made

    Is this an issue with my SQL?
    I really don’t know what else to try

    Thanks

Viewing 13 replies - 1 through 13 (of 13 total)
  • Moderator James Huff

    (@macmanx)

    A blank page means that PHP is crashing, typically due to a function conflict introduced by a plugin or theme.

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter Fabloria

    (@fabloria)

    Hi James

    Thanks for your reply.
    Yes I renamed the directory of my active theme, I also renamed my plugins directory and it didn’t work. The weird thing is, my home page is loading fine, but others are not for example, my “about us” page. Only a blank page appears.

    Moderator James Huff

    (@macmanx)

    Try re-saving your permalink structure at Settings/Permalinks in your admin panel. If WordPress cannot automatically edit the .htaccess file, it will provide manual instructions after saving.

    Moderator James Huff

    (@macmanx)

    Err, um, wait, ignore that, you can’t get into your Dashboard.

    Ok, it’s possible some core files may have been corrupted during the move.

    Try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.

    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thread Starter Fabloria

    (@fabloria)

    Hi, I just did it and it didn’t work, I downloaded WordPress again and with FTP I installed it again.
    But the exactly same pages are not working and I still can access wp-admin

    Windows Hosting. You have to set rewrite rules in the web.config to make WordPress work.

    Moderator James Huff

    (@macmanx)

    What version of PHP do they have you on now?

    Thread Starter Fabloria

    (@fabloria)

    Now Im getting this error in one of my pages

    Fatal error: Class ‘WP_HTTP_Requests_Hooks’ not found in /home4/conexion/public_html/wp-includes/class-http.php on line 303

    Moderator James Huff

    (@macmanx)

    What version of PHP do they have you on now?

    Thread Starter Fabloria

    (@fabloria)

    Hi,

    I was able to fix my website
    It was an issue with the migration the hosting provider made

    Thanks all

    @fabloria: I have the same issue at the moment (“Fatal error: Class ‘WP_HTTP_Requests_Hooks’ not found in …/wp-includes/class-http.php on line 303”).

    Can you tell me your solution more in detail?

    Thanks a lot!

    • This reply was modified 7 years, 11 months ago by teichlotsen.

    @teichlotsen: I had this same error coming from one of my custom plugins. It has an ajax file that we use to load only what we need to perform a certain function on the front end of the site, instead of using wp ajax calls as that seems to pull in everything and put a heavy load on the system. In my case, I had to specifically include wp-includes/class-wp-http-requests-hooks.php for WP4.7 and higher. I included that file in my ajax.php file and the error went away and the plugin began working again.

    If you have any type of custom ajax flow, this may be where your issue is. Hope this helps!

    Thread Starter Fabloria

    (@fabloria)

    Hi @teichlotsen

    Sure, my issue happened because my Hosting Provider made a migration, but they didn’t told me, so I had a Cache plugin activated before the migration, and when they did it, this plugin was affecting my site.

    Solution:
    First I manually disabled this plugin (backend wasn’t working) but it didn’t work completely.
    Then I stared to receive the error message:
    Fatal error: Class ‘WP_HTTP_Requests_Hooks’ not found in …/wp-includes/class-http.php on line 303”
    So my solution was to upload a fresh copy of WordPress and finally, it starting working again.

    Hope this helps

    • This reply was modified 7 years, 11 months ago by Fabloria.
    • This reply was modified 7 years, 11 months ago by Fabloria.
Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Issue with migration’ is closed to new replies.