Title: Error while updating my wordpress
Last modified: August 20, 2016

---

# Error while updating my wordpress

 *  [infected24](https://wordpress.org/support/users/infected24/)
 * (@infected24)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/error-while-updating-my-wordpress/)
 * A few days ago ive tried to update my wordpress from an earlier version. My site
   is hosted on 000webhost. I wanted to update the wordpress trough the site interface(
   not manual update it), but after i started the update it just got stuck there.
 * now when i access my site i get there errors:
 *     ```
       PHP Error Message
   
       Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'check_theme_switched' was given in /home/a6847684/public_html/wp-includes/plugin.php on line 405
   
       Free Web Hosting
   
       PHP Error Message
   
       Fatal error: Call to undefined method WP_Styles::get_data() in /home/a6847684/public_html/wp-includes/class.wp-styles.php on line 113
   
       Free Web Hosting
       ```
   
 * i looked up my problem in google, and it seemed that i had to delete the “upgrade”
   folder from my “Wp-content”, or delete the .maintenance file, but none of that
   worked.
 * any suggestions what can i do?

The topic ‘Error while updating my wordpress’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [infected24](https://wordpress.org/support/users/infected24/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/error-while-updating-my-wordpress/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
