Title: Theme Update error
Last modified: September 17, 2018

---

# Theme Update error

 *  [stwallace](https://wordpress.org/support/users/stwallace/)
 * (@stwallace)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/theme-update-error-3/)
 * This site recently migrated to another server. Everything seemed fine until last
   night. This morning when I tried to log in, I got the below error. To log in,
   I disabled the theme, logged in and re-enabled the theme. I’m able to update 
   posts/pages and other items. I’m unable to update any plugins. I was able to 
   at least fix the log in problem by hard coding the username and api key for the
   theme in class envato protected api. I’m still unable to update plugins. I’ve
   checked the wp-content/themes/cacoon/inc/pixelentity-themes-updater/class-pixelentity-
   themes-updater.php file and can’t locate the error.
 * Any help provided will be greatly appreciated
 * **Parse error: syntax error, unexpected ‘new’ (T_NEW) in /home/go5y6ocs3qga/public_html/
   wp-content/themes/cacoon/inc/pixelentity-themes-updater/class-pixelentity-themes-
   updater.php on line 33**
 * Thank you
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftheme-update-error-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [JNashHawkins](https://wordpress.org/support/users/jnashhawkins/)
 * (@jnashhawkins)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/theme-update-error-3/#post-10696531)
 * If it was me I’d kill that theme by renaming it or switching to a more generic
   theme for a little while. Twenty Seventeen should be fine temporarily. I’d then
   try the plugins update and such. If that doesn’t work right still I think I’d
   next reach out to my host for help.
 * You might also take a look at your PHP version and throttle back to PHP 5.6 for
   a bit. WordPress and most of its plugins and themes run fine on PHP 5.6 but start
   acting up on the newer, actually better PHP versions like 7.2.
 * I really suspect that PHP version might be the issue or else your error logs 
   might tell you more and your host should be able to help.
 * The site itself looks fine.
 * You might also reach out to the support for that theme itself… [https://themeforest.net/item/cocoon-modern-woocommerce-wordpress-theme/22220527/support](https://themeforest.net/item/cocoon-modern-woocommerce-wordpress-theme/22220527/support)

Viewing 1 replies (of 1 total)

The topic ‘Theme Update error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [JNashHawkins](https://wordpress.org/support/users/jnashhawkins/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/theme-update-error-3/#post-10696531)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
