WP core and plugin updates fail AWS

Check your file permissions, you can run the following command in the root folder. chown www-data:www-data -R * find . -type f -exec chmod 644 {} \; find . -type d -exec chmod 755 {} \; To troubleshoot WordPress errors, you require to enable WordPress Debug, which can be done using wp-config.php. You need to … Read more

WordPress PHP version

You can check your .htaccess file. WordPress will check if you have this line: # Use PHP 7.3 as default If it’s not the latest PHP version (i.e PHP 5.6), even if you are running the latest version on your host, your dashboard will show that warning.

Disabling forced FTP credentials for any updates

So it was solved. I reached out to the WP.org forums and found a couple of guys who helped me through it. The owner needs to run as what user PHP runs as. In my case, it was www-data and that user needed to be owner throughout the project. Not just on the wp-content/plugins folder.

Block plugin update possibilities (but not by hiding notifications)

Try this: add_filter( ‘http_request_args’, ‘dm_prevent_update_check’, 10, 2 ); function dm_prevent_update_check( $r, $url ) { if ( 0 === strpos( $url, ‘http://api.wordpress.org/plugins/update-check/’ ) ) { $my_plugin = plugin_basename( __FILE__ ); $plugins = unserialize( $r[‘body’][‘plugins’] ); unset( $plugins->plugins[$my_plugin] ); unset( $plugins->active[array_search( $my_plugin, $plugins->active )] ); $r[‘body’][‘plugins’] = serialize( $plugins ); } return $r; } Credits: https://stackoverflow.com/questions/17897044/wordpress-how-to-disable-plugin-update

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