• Resolved wp-muhkiainen

    (@toppahattu)


    I got a email, which told that my site was upgraded to version 5.0.2. When I tried to go to my site, I met a database error, and site did not work.

    The I disabled an autoupdate editing wp-config.php file, adding a line

    /** Est? automaattiset p?ivitykset. */
    define( 'WP_AUTO_UPDATE_CORE', false );

    … and renamed wp-admin folder and downloaded old wp-admin folder from my backup. Then I got my site working, but after upgrading addons, I got a database error again, so I had to do the same process again.

    Any ideas, how to upgrade addons, themes and WP itself without breaking the site?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter wp-muhkiainen

    (@toppahattu)

    Obvioysly there was some conflict with localized WP and autoupdated WP, because my dashboard says that I have a version 5.0.2 and now it works fine. Probably prevenenting autoupdate was a part fix.

    I also deleted all twenty-something themes via FTP, and now mys site thinks that it is updated, even the last version from my backups was updated 13.12.2018

    For plugins and themes, the safest way to upgrade may be install updated versions via FTP?

    Anyway all is working now. ??

    [link redacted]

    Thread Starter wp-muhkiainen

    (@toppahattu)

    I found the real reason for a database connection error – there was an old config file, which forced the site to use different php version than the server is using.

    Check your WordPress site’s php version

    Thread Starter wp-muhkiainen

    (@toppahattu)

    I ran database repair in my site, and now the site seems to work normally. Hoping that this fix is the last one to do after WP 5.02 update. ??

    To repair WordPress database

    Thread Starter wp-muhkiainen

    (@toppahattu)

    There has been database errors every now and then until today I reinstalling wp-admin and wp-includes folders using FTP, and now my site works like it should work. ??

    Conclusion: WP autoupdate was corrupted somehow, and manual update via FTP fixed it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WordPressin version 5.0.2 database error’ is closed to new replies.