Title: Error in update
Last modified: December 15, 2017

---

# Error in update

 *  [mautone](https://wordpress.org/support/users/mautone/)
 * (@mautone)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/error-in-update-2/)
 * Hi there.
 * We just upgrade our wordpress site, and when upgrading to the latest version 
   og WPS, we got an error 500 because of this plugin.
    From the error log I found
   this error: Got error ‘PHP message: PHP Warning: syntax error, unexpected ‘)’
   in Unknown on line 1\n in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/
   wp-statistics/includes/vendor/browscap/browscap-php/src/phpbrowscap/Browscap.
   php on line 769\nPHP message: PHP Fatal error: Uncaught TypeError: Argument 1
   passed to phpbrowscap\\Browscap::resortProperties() must be of the type array,
   boolean given, called in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/
   wp-statistics/includes/vendor/browscap/browscap-php/src/phpbrowscap/Browscap.
   php on line 809 and defined in /opt/bitnami/apps/wordpress/htdocs/wp-content/
   plugins/wp-statistics/includes/vendor/browscap/browscap-php/src/phpbrowscap/Browscap.
   php:867\nStack trace:\n#0 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/
   wp-statistics/includes/vendor/browscap/browscap-php/src/phpbrowscap/Browscap.
   php(809): phpbrowscap\\Browscap->resortProperties(false, Array)\n#1 /opt/bitnami/
   apps/wordpress/htdocs/wp-content/plugins/wp-statistics/includes/vendor/browscap/
   browscap-php/src/phpbrowscap/Browscap.php(578): phpbrowscap\\Browscap->createCacheNewWay(‘
   <!DOCTYPE HTML>…’)\n#2 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/
   wp-statistics/includes/vendor/browscap/browscap-php/src/phpbrowscap/Browscap.
   php(…\n
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-in-update-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Corey Kretsinger](https://wordpress.org/support/users/corey-kretsinger/)
 * (@corey-kretsinger)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-in-update-2/#post-9790697)
 * Same thing here. This is a serious problem.
 *  [mike73](https://wordpress.org/support/users/mike73/)
 * (@mike73)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-in-update-2/#post-9811183)
 * Hallo,
 * …same thing here with version 12.3.1.
 * If we use the version 12.3, is all fine.
    Have anyone also a solution / what 
   is the reason?
 * Thanks, for a/your quickly help!
 * Mike

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error in update’ is closed to new replies.

 * ![](https://ps.w.org/wp-statistics/assets/icon.svg?rev=3081064)
 * [WP Statistics – Simple, privacy-friendly Google Analytics alternative](https://wordpress.org/plugins/wp-statistics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-statistics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-statistics/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-statistics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-statistics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-statistics/reviews/)

## Tags

 * [Browscap](https://wordpress.org/support/topic-tag/browscap/)
 * [update](https://wordpress.org/support/topic-tag/update/)

 * 2 replies
 * 3 participants
 * Last reply from: [mike73](https://wordpress.org/support/users/mike73/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/error-in-update-2/#post-9811183)
 * Status: not resolved