WP Core Update Issue

If you’re running v4.9.3, you will unfortunately have to do a manual upgrade to v4.9.4. According to its release announcement, v4.9.3 contained a bug that produces an error when you attempt to upgrade it from within the dashboard.

Website does not reflect changes on live after uploading files via FTP

There is a difference between WordPress files you upload on your FTP, and WordPress “content” that is stored in your database. For your content to be updated, you have to migrate your WordPress database online. Resources: This link explains how you can migrate your WordPress website entirely https://www.wpexplorer.com/migrating-wordpress-website/ For example, has stated by @WebElaine, you … Read more

Unable to locate WordPress content directory

All files should be owned by the actual user’s account, not the user account used for the httpd process. Group ownership is irrelevant unless there are specific group requirements for the web-server process permissions checking. This is not usually the case. All directories should be 755 or 750. All files should be 644 or 640. … Read more

Posts Missing in Dashboard after update

Your SQL query is correct, but… There is no proper WHERE part in it: SELECT count(*) FROM `wp_posts` WHERE 1 So it will count all rows in that table. And that table contains posts, but also much more… First of all, this table contains column post_status. Some posts may be trashed, for example and you … Read more

Get site url and updates data, then use them

First of all you should perform $updates = wp_get_update_data(); in the wp_footer() body because till then you don’t have access to $updates variables. add_action( ‘wp_footer’, ‘my_function’ ); function my_function() { $updates = wp_get_update_data(); echo $updates[‘title’]; }

How to allow WordPress updates to only one specific administrator?

SOLUTION: We take this code and paste it to functions.php : function createit_hide_upd_for_other_adm_users() { $current_user = wp_get_current_user(); if ( 777 != $current_user->ID ) { //change the user ID add_filter( ‘pre_site_transient_update_core’, ‘disable_updates’ ); add_filter( ‘pre_site_transient_update_plugins’, ‘disable_updates’ ); add_filter( ‘pre_site_transient_update_themes’, ‘disable_updates’ ); } else { } } add_action( ‘init’, ‘createit_hide_upd_for_other_adm_users’ ); You just need to find the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)