“Unexpected error” on update requests

Navigating WP admin in general tends to trigger multiple external requests, such as fetching news feeds and theme/plugin updates (not counting whatever plugin/themes might be doing on their own). You can put configuration constants into wp-config.php to block external requests completely/partially: define( ‘WP_HTTP_BLOCK_EXTERNAL’, true ); define( ‘WP_ACCESSIBLE_HOSTS’, ‘api.wordpress.org,*.github.com’ ); Or configure external requests to use … Read more

Update to older wordpress version from admin?

You can hook on option_update_core and edit the update url, as a plugin you can do something like this (Remember to disable the plugin after updating wordpress) add_filter(‘option_update_core’,’wpse_26750′); add_filter(‘transient_update_core’,’wpse_26750′); function wpse_26750($options){ global $wp_version; $updates=array( ‘2.5’=>’http://wordpress.org/wordpress-2.5.zip’, ‘2.7.1’=>’http://wordpress.org/wordpress-2.7.1.zip’, ‘2.8’=>’http://wordpress.org/wordpress-2.8.zip’, ‘2.8.1’=>’http://wordpress.org/wordpress-2.8.1.zip’, ‘2.8.3’=>’http://wordpress.org/wordpress-2.8.3.zip’, ); $currentUpdate=$options->updates[0]; //Add Previous updates skipping the ones already passed foreach($updates as $version=>$updateUrl){ if( version_compare($wp_version,$version) < … Read more

Unable to locate WordPress Content directory (wp-content)

I had the same issue, this is usually a permission of writing in specific folder, in my case I had to change the owner of the uploads/ directory, here is what I did in wp-content directory: sudo chown -R daemon uploads/ where the user daemon is the owner of the process httpd. Hope this helps.

Automating the Backup Process (30+ websites)

I’m not sure if this will address your issue… But there’s something new in WorldWordPress. http://infinitewp.com/ It’s akin to ManageWP, but free :o) I’m not affiliated with them in any form, just starting to play with it. (ht: wpmail.me) It’s a platform that you install in your server. Add the client plugin to your WPs. … Read more

How can I manually upgrade translations?

quick-and-dirty hint to solve this problem: find the function list_translation_updates() in wp-admin/update-core.php $updates = wp_get_translation_updates(); if ( ! $updates ) <- locate the if … } else { <- add this print_r ( $updates ); } add the else-case and save the file reload the dashboard page and you will get the desired information.

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