• Resolved michan7

    (@michan7)


    My site vanished after WordPress suddenly automatic update my old version to the new 4.7 version since two weeks ago. I looked into my dashboard, all the posts, pages, and images are all gone. This is a nightmare to me. I’ve been searching for a solution and read the WP 4.7 Masterlist, but none of the instruction works for me.

    – disable all plugins, I did rename the plugin folder in /wp-content/, but nothing changed.
    – change the WP_CACHE value in wp-config.php from true to false; it cause ‘fatal error warning’ to my site.
    – Downgrading the WordPress from 4.7 with a fresh copy of WordPress version 4.5.4, and nothing changed. And still, everything is empty on my dashboard.

    Just last night, I don’t know why suddenly when I visit my site (myfunfoodiary.com), it automatically redirects me to my YouTube channel. How to remove this redirect link from my site?

    And there’s this error message shown in the dashboard:
    Warning: Creating default object from empty value in /home1/wabt240aa7b2/public_html/wp-admin/includes/post.php on line 639

    Anyone can tell me, how to fix this and return my site back to normal?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator t-p

    (@t-p)

    – Downgrading the WordPress from 4.7 with a fresh copy of WordPress version 4.5.4,

    Downgrading is Not a good idea.

    But, unfortunately, you have already done it.

    Try MANUALLY updating to 4.7. Download a fresh copy of the WordPress .zip file to your computer, unzip it, and use that to copy up all files and folders EXCEPT the wp-config.php file and the /wp-content/ directory. You may need to delete the old wp-admin and wp-includes folders and files on your server before uploading the new ones. Please read the Manual Update directions first.

    Backup: If you haven’t already done, always backup everything (including your database) before doing any actions, just in case something really goes wrong. You can never have enough backups!

    Thread Starter michan7

    (@michan7)

    Hi @t-p thanks for the prompt response, I will try your suggestion.

    But any way to remove the redirect link, because I cannot check whether this works or not if my site keep redirecting to my YouTube channel.

    Please kindly advice.

    Moderator t-p

    (@t-p)

    To redirect a site to YouTube is not the default behavior of the WP core.

    you can try:

    – deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
    – If you have no access to the dashboard, try manually resetting the plugins folder by FTP/ SFTP (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause. Also remember to deactivate any plugins in the mu-plugins folder (if you have created such folder). The easiest way is to rename that folder to mu-plugins-old.
    – switching to the unedited default Theme (Twenty Sixteen, etc.) for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins). If you don’t have access to your admin area, use FTP/ SFTP , or your web-host’s cPanel or whatever file management application your host provides (no Dashboard access required). Navigate to /wp-content/themes/ and switch to the default theme by renaming your current theme’s folder by adding “-old” to the end of the folder name. Alternately, you can remove other themes except the default theme. That will force your site to use it.

    Thread Starter michan7

    (@michan7)

    Yes, I’ve manually updating to 4.7 as suggested.
    And it works! I can see my site again, and all posts, all pages, are there..back in my dashboard again.

    But the problem is, all images showing broken images, where actually all images are there available in /wp-content/uploads

    how to fix this? kindly check myfunfoodiary.com

    All images are not showing properly..

    Your images are showing a 403 error, so it’s probable that you need to check the permissions settings on your uploads folder.

    For more information on this you can check https://www.elegantthemes.com/blog/tips-tricks/how-to-fix-403-forbidden-error-in-wordpress

    Thread Starter michan7

    (@michan7)

    Dear @andybodu

    I’ve read the link given to you,

    – folders /wp-admin /wp-content /wp-includes already set to 755 by default
    – I changed the permission in this folder /wp-content/uploads/ from 744 to 755
    – all the individual files under /public-html/ are set to 0644 by default

    Now the case is:
    – all the folders inside /wp-admin are already set to 755 by default, but the individual files in this folder such as about.php, admin-ajax.php, etc are all set to 644 by default. Should I change the permission files for these individual files in /wp-admin/ to 755 ?

    You should be checking the file permissions for the wp-content/uploads folder and sub folders where all your images are, as these are the ones returning a 403 error. There’s a further useful article here:
    https://themefuse.com/403-forbidden-error-wordpress/

    You should check that the uploads folder has 755 permission, and that all the image files have 644 permissions. If that doesn’t resolve the problem, you should then proceed to the section in the above link where it gives instructions on how to check for a corrupted .htaccess file

    Thread Starter michan7

    (@michan7)

    This is awesome! As suggested, I’ve changed the file permission to all folders in /wp-content/uploads including all the sub folders where all my images stored, to 755 permissions. While all images inside are already set to 644 permission, no changes at all.

    And all images appears on my web the way I want it. Thank you so much @andybodu for the advice! You’re very helpful!

    Moderator t-p

    (@t-p)

    Glad you got it sorted ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘my web vanished after update 4.7 & why redirect’ is closed to new replies.