Support » Plugin: Yoast SEO » Installing Yoast: 500 Internal server error

  • Resolved gaidheal01

    (@gaidheal01)


    Hello,
    I’m having trouble installing Yoast SEO, and would greatly appreciate some assistance.
    Bit of a complicated story: I was running Yoast succesfully on WP. Then a Godaddy support agent said I should reinstall WP on Plesk as I had switched to using Plesk without doing so (I couldn’t upload new pictures). They neglected to suggest following a guide, so I didn’t take any backups, and as a result I lost all content from my site (although I found a previous version on archive.org so I have my pages & some posts).
    Now I get a 500 Internal server error when I try to install Yoast. I have deactivated all other plugins, and am using a standard theme (2020) with only two other standard themes installed.

    WP version: 5.4
    PHP: 7.3.16

    Here is the full error message I receive:
    Installation failed: <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”&gt; 500 – Internal server error. <!– body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;} fieldset{padding:0 15px 10px 15px;} h1{font-size:2.4em;margin:0;color:#FFF;} h2{font-size:1.7em;margin:0;color:#CC0000;} h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} #header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:”trebuchet MS”, Verdana, sans-serif;color:#FFF; background-color:#555555;} #content{margin:0 0 0 2%;position:relative;} .content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;} –> Server Error 500 – Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.

    Many thanks in advance for any guidance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support amboutwe

    (@amboutwe)

    Server errors are usually described in more detail in the server error log. If you have access to your server error log, generate the error again, note the date and time, then immediately check your server error log for any errors that occurred during that time period. If you don’t have access to your server error log, please ask your hosting provider to look for you.

    If you or your web host cannot pinpoint the cause, please provide us with a copy of the server error log for further investigation. As server logs can cover a large amount of time, please limit the error log to a few minutes before you generated the error to a few minutes after the error. You can mask any sensitive information like server paths.

    If the server error log does not contain any errors at the time of the issue, please enable advanced WordPress debugging with the code here. This code requires that you change line 84 to point to a path on your server. Your webhost can provide you with a secure path to save the error.log file.

    Thread Starter gaidheal01

    (@gaidheal01)

    Thanks for popping by to help!
    Ok, here are the two log entries which turned up in red text when I tried to install Yoast. Maybe the problem is that it seems to be trying to update?

    2020-04-12 15:22:19 500 GET /wp-admin/update.php action=install-plugin&plugin=wordpress-seo&_wpnonce=c421c220b1 HTTP/1.1 https://duncanappleby.co.uk/wp-admin/plugin-install.php?s=yoast&tab=search&type=term Mozilla/5.0 (Windows NT 10.0; Win64; x64) 0 IIS access
    2020-04-12 15:23:06 500 POST /wp-admin/admin-ajax.php – HTTP/1.1 https://duncanappleby.co.uk/wp-admin/plugin-install.php?s=yoast&tab=search&type=term Mozilla/5.0 (Windows NT 10.0; Win64; x64) 1.43 K IIS access

    Beginning to wonder whether I should just start again from scratch, seeing as I’m pretty much there anyway in terms of installation…

    Thread Starter gaidheal01

    (@gaidheal01)

    Whoops, some more Yoast-related stuff turned up:

    [ SNIP! ]

    • This reply was modified 3 years, 11 months ago by Jan Dembowski.
    • This reply was modified 3 years, 11 months ago by Jan Dembowski.
    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @gaidheal01 Please do not post large code or responses like that here, it doesn’t work after ~10 lines or so.

    If you need share that data please use https://pastebin.com/ instead and post the link to that paste.

    Plugin Support amboutwe

    (@amboutwe)

    The 2020-04-12 15:22:19 500 GET and 2020-04-12 15:23:06 500 POST are from the server access log which doesn’t provide errors. There should be a corresponding error log that provides more information. It’s possible that’s what you posted that was removed by a moderator since error logs are sometimes longer if multiple things error or if the log has been cleared in a while.

    Plugin Support Jerlyn

    (@jerparx)

    Closed due to inactivity.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Installing Yoast: 500 Internal server error’ is closed to new replies.