Update user meta array using foreach

Make sure to have identical keys in both of the arrays. Keys ‘first_name’, ‘last_name’ and respective keys ‘fname’, ‘lname’ are different. If you can make them identical then first do it, otherwise you will either need to do string manipulation for these keys before using them or put a condition like below in the foreach … Read more

Reliability of WordPress 4 one click update

ALWAYS take a database backup and file backup of the website before you update. If something does go wrong you can revert. If you want to avoid as much interruption as possible, set up a local or development copy of the site and perform the update there. When you are done, back up your development … Read more

Constant for ‘barebones’ update of WordPress

So in the old days when WordPress updated you got the whole shebang and deleting Akismet after every time was deadly boring. Things had slightly improved since then (partially driven by minimizing traffic it takes to serve update to everyone), but process also got more complicated. Now there are multiple versions of update archive that … Read more

Problem after updating plugins

There is problem with the “wordpress-seo” permission so please following steps. There are two way 1) Upload from the wp-admin Step 1 -> Change the “wordpress-seo” permission or rename the “wordpress-seo” plugin to another Step 2 -> If you have change the permission then just upgrade the plugin and if you have rename the plugin … Read more

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