• Hello I’m having a problem trying to upgrade to 4.9.5 from 4.9.4.
    Seeing this in wordpress-error.log file:

    2018/04/07 05:02:31 [error] 25923#0: *1175 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: host in /var/www/html/wordpress/wp-includes/canonical.php on line 461
    PHP message: PHP Notice:  Undefined index: host in /var/www/html/wordpress/wp-includes/canonical.php on line 462
    PHP message: PHP Notice:  Undefined index: host in /var/www/html/wordpress/wp-includes/canonical.php on line 462
    PHP message: PHP Notice:  Undefined index: host in /var/www/html/wordpress/wp-includes/canonical.php on line 463
    PHP message: PHP Notice:  Undefined index: host in /var/www/html/wordpress/wp-includes/canonical.php on line 465" while reading response header from upstream, client: 196.52.43.99, server: 35.172.85.57, request: "GET / HTTP/1.0", upstream: "fastcgi://127.0.0.1:9000"

    Not sure if it’s related or not to the upgrade but I’m getting the following error:
    Unpacking the update…

    Could not create directory.

    Installation Failed

    THank you,
    Santiago

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Santiago.,

    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 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.

    Thanks

    Thread Starter saintperez

    (@saintperez)

    Thank you Rajan, when you say everything, you mean everything under the wordpress folder? I would need to chown on that folder in linux in order to do that. My concern is would I need to set it back to what it is now for everything under that folder or are there different permissions in different folders that I would need to worry about. I’m self hosting on Amazon AWS Linux server on nginx.

    @saintperez, Everything means related WordPress folders like wp-admin and wp-includes

    Update installed fine but two headers which contain video on two different pages are nothing but code. Any fix or can someone tell me how to go back to 4.94?
    Thanks in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Upgrade 4.9.5 issue’ is closed to new replies.