Title: [Plugin: Wickett Twitter Widget] Parse error
Last modified: August 19, 2016

---

# [Plugin: Wickett Twitter Widget] Parse error

 *  [Derek Punaro](https://wordpress.org/support/users/punaro/)
 * (@punaro)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wickett-twitter-widget-parse-error/)
 * Just ran the upgrade and I’m getting:
    Parse error: syntax error, unexpected 
   T_ARRAY, expecting ‘)’ in …/wp-content/plugins/wickett-twitter-widget/wickett-
   twitter-widget.php on line 231
 * Deleted that file via cPanel and uploaded it fresh from the downloaded 1.0.3 
   zip file and got the same thing.

Viewing 1 replies (of 1 total)

 *  [jkovis](https://wordpress.org/support/users/jkovis/)
 * (@jkovis)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wickett-twitter-widget-parse-error/#post-1762316)
 * you can resolve the error by editing wickett-twitter-widget.php and changing:
 *     ```
       function _wpcom_widget_twitter_username( array $matches ) {
       ```
   
 * and
 *     ```
       function _wpcom_widget_twitter_hashtag( array $matches ) {
       ```
   
 * to:
 *     ```
       function _wpcom_widget_twitter_username( $matches ) {
       ```
   
 * and
 *     ```
       function _wpcom_widget_twitter_hashtag( $matches ) {
       ```
   
 * I don’t use the plugin so I am not sure how this affects it’s functionality, 
   but it will definitely resolve the error.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Wickett Twitter Widget] Parse error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wickett-twitter-widget.svg)
 * [Wickett Twitter Widget](https://wordpress.org/plugins/wickett-twitter-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wickett-twitter-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wickett-twitter-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/wickett-twitter-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wickett-twitter-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wickett-twitter-widget/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [jkovis](https://wordpress.org/support/users/jkovis/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wickett-twitter-widget-parse-error/#post-1762316)
 * Status: not resolved