Title: Parse error: syntax error, unexpected &#8216;.&#8217;, expecting &#8216;&amp;&#8217; or variable
Last modified: May 2, 2020

---

# Parse error: syntax error, unexpected ‘.’, expecting ‘&’ or variable

 *  Resolved [jgarmino](https://wordpress.org/support/users/jgarmino/)
 * (@jgarmino)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-expecting-or-variable/)
 * Hi WP Team,
 * I just updated my wordpress tov new version including the plugins however i could
   no longer access my admin page not even able to check my PHP version.
 * Below error message is showing on my page . Much appreciate for any assistance
   to rectify this error. Thank you.
 * Parse error: syntax error, unexpected ‘.’, expecting ‘&’ or variable (T_VARIABLE)
   in /home2/ivangav/public_html/infographicspedia.com/wp-content/plugins/kk-star-
   ratings/src/hook.php on line 26
 * Jay
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fparse-error-syntax-error-unexpected-expecting-or-variable%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-expecting-or-variable/#post-12769354)
 * Use FTP or your host control panel File Manager to delete the `plugins/kk-star-
   ratings` folder.
    Be sure to report the error to the plugin’s support forum.
 *  [kaushalsheth](https://wordpress.org/support/users/kaushalsheth/)
 * (@kaushalsheth)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-expecting-or-variable/#post-12769355)
 * Quick fix, would be to disable the plugin in question kk-star-ratings. If you
   have access to FTP, you can go to public_html/wp-conntent/plugins/ folder and
   rename the plugin in question. This will deactivate the plugin.
 * Later you can rename it again and resolve the issue.
 *  Thread Starter [jgarmino](https://wordpress.org/support/users/jgarmino/)
 * (@jgarmino)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-expecting-or-variable/#post-12769394)
 * Thank you Joy,
 * I deleted the plugin “KK Star” from my host file manager and had restored my 
   admin page. Also as advised, I reported the error to plugin owner at thier github
   homepage.
 * Much appreciated. Thanks again.
 * Jay
 *  Thread Starter [jgarmino](https://wordpress.org/support/users/jgarmino/)
 * (@jgarmino)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-expecting-or-variable/#post-12769411)
 * [@kaushalsheth](https://wordpress.org/support/users/kaushalsheth/) Yes I did 
   as per first advised by [@joyously](https://wordpress.org/support/users/joyously/)
   I just deleted the plugin as it not compatible with my current PHP version. I’m
   not sure i can get anymore error from any plugins if I updated my WP to 5.4.1
   version.
 * Thanks guys!
 * Jay
 *  Thread Starter [jgarmino](https://wordpress.org/support/users/jgarmino/)
 * (@jgarmino)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-expecting-or-variable/#post-12769647)
 * Issue Resolved

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

The topic ‘Parse error: syntax error, unexpected ‘.’, expecting ‘&’ or variable’
is closed to new replies.

## Tags

 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [jgarmino](https://wordpress.org/support/users/jgarmino/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-expecting-or-variable/#post-12769647)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
