Getting 400 Bad request Error when trying to open posts after updating to wordpress 5.0
Getting 400 Bad request Error when trying to open posts after updating to wordpress 5.0
We solved the issue. One of our advertising vendor enabled caching on their end as we gave them Cloudflare access for the platform. So, please double check with all your vendors on caching. It is not a technical issue with WordPress.
There should be a choice in Admin, Updates to update to the latest version. Use that, as it is ‘smart’ enough to figure out all the updates needed to the database structures, etc. After updating, use the Admin, Update screen to ensure that all plugins and themes are updated. Do the ‘Check Again’ until everything … Read more
Getting 400 Bad request Error when trying to open posts after updating to wordpress 5.0
Thanks Tom J Nowell! That led me down the right direction and I’ve been able to update successfully. Here’s what I did: Re-structured my repo to match: |– .git |– .gitattributes |– .gitignore |– README.md |– package.json |– plugin-name |– plugin-name.php |– src |– … Code new version in a new branch, merge into master … Read more
Website content not displayed anymore after updates
How to force an update of WordPress core to a newer minor version, using the Dashboard?
You could add a REST endpoint to check if the current theme has an update. Here’s a quick example to get you started: function wpd_register_themecheck_route(){ register_rest_route( ‘themecheck/v1’, ‘/updates/’, array( ‘methods’ => ‘GET’, ‘callback’ => ‘wpd_check_theme’ ) ); } add_action( ‘rest_api_init’, ‘wpd_register_themecheck_route’ ); function wpd_check_theme(){ $current_theme = get_option( ‘template’ ); $theme_updates = get_option( ‘_site_transient_update_themes’ ); $return … Read more
Can I replace the “Upgrade Network” with SQL query?
Gutenberg editor in WordPress 5.0.3 /wp-json/wp/v2/pages/4713/autosaves?_locale=user 500 (Internal Server Error)
The easiest way to disable a plugin when there is no access to admin, is renaming of plugin folder. Connect via ftp by Filezilla or use cpanel.