admin管理员组文章数量:1130349
I used BackupBuddy to revert the database and overwrote the wordpress files of version 5.0.2 with 4.9.9. However I can't use the admin without the Database Update Required screen blocking me. How to i stop this upgrade from happening?
I used BackupBuddy to revert the database and overwrote the wordpress files of version 5.0.2 with 4.9.9. However I can't use the admin without the Database Update Required screen blocking me. How to i stop this upgrade from happening?
Share Improve this question asked Jan 3, 2019 at 12:10 snowliondevsnowliondev 631 silver badge4 bronze badges 3- Alternatively, you can disable automatic updates in WordPress by adding this line of code in your wp-config.php file: 1 define( 'WP_AUTO_UPDATE_CORE', false ); – vikrant zilpe Commented Jan 3, 2019 at 12:12
- Have you considered using 5.0 but using the classic editor plugin? You don't have to use the new block editor with 5.0 if it isn't for you – Tom J Nowell ♦ Commented Jan 3, 2019 at 12:16
- To clarify I think the issue is caused by left over files (perhaps an upgrade trigger) from 5.0.2 that are not normally there for 4.9.9. It is not an automatic security update it it is some something telling wordpress the database needs to be upgraded even though I've replaced the files with 4.9.9 and downgraded the database. – snowliondev Commented Jan 3, 2019 at 12:25
1 Answer
Reset to default -1You are facing the issue due to the different database versions. Please, follow this steps to fix the issue:
- Head to /wp-include/ folder.
- Open the version.php file.
- Find the value for $wp_db_version.
- Open your database. Find wp_options.
Use the following line to identify the value of db_version:
SELECT option_value FROM yourdatabase.wp_options WHERE option_name = 'db_version';
The values of $wp_db_version and db_version must be the same. Make sure that you make the change in the version.php file, but not the database.
I used BackupBuddy to revert the database and overwrote the wordpress files of version 5.0.2 with 4.9.9. However I can't use the admin without the Database Update Required screen blocking me. How to i stop this upgrade from happening?
I used BackupBuddy to revert the database and overwrote the wordpress files of version 5.0.2 with 4.9.9. However I can't use the admin without the Database Update Required screen blocking me. How to i stop this upgrade from happening?
Share Improve this question asked Jan 3, 2019 at 12:10 snowliondevsnowliondev 631 silver badge4 bronze badges 3- Alternatively, you can disable automatic updates in WordPress by adding this line of code in your wp-config.php file: 1 define( 'WP_AUTO_UPDATE_CORE', false ); – vikrant zilpe Commented Jan 3, 2019 at 12:12
- Have you considered using 5.0 but using the classic editor plugin? You don't have to use the new block editor with 5.0 if it isn't for you – Tom J Nowell ♦ Commented Jan 3, 2019 at 12:16
- To clarify I think the issue is caused by left over files (perhaps an upgrade trigger) from 5.0.2 that are not normally there for 4.9.9. It is not an automatic security update it it is some something telling wordpress the database needs to be upgraded even though I've replaced the files with 4.9.9 and downgraded the database. – snowliondev Commented Jan 3, 2019 at 12:25
1 Answer
Reset to default -1You are facing the issue due to the different database versions. Please, follow this steps to fix the issue:
- Head to /wp-include/ folder.
- Open the version.php file.
- Find the value for $wp_db_version.
- Open your database. Find wp_options.
Use the following line to identify the value of db_version:
SELECT option_value FROM yourdatabase.wp_options WHERE option_name = 'db_version';
The values of $wp_db_version and db_version must be the same. Make sure that you make the change in the version.php file, but not the database.
本文标签: upgradeStuck on Database Update Required after downgrading to 499 from backup
版权声明:本文标题:upgrade - Stuck on Database Update Required after downgrading to 4.9.9 from backup 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749048905a2308302.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论