Title: Parse error: syntax error&#8230;
Last modified: August 31, 2016

---

# Parse error: syntax error…

 *  Resolved [Noicedangel](https://wordpress.org/support/users/noicedangel/)
 * (@noicedangel)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-122/)
 * Hello and thank you for your help in advance, my website is
    [http://floordesignrugs.com/](http://floordesignrugs.com/)
   I was trying to remove/disable the “reviews tab” in woocommerce single product
   display page
 * I added this code at the bottom of my functions.php:
 *     ```
       add_filter( 'woocommerce_product_tabs', 'wcs_woo_remove_reviews_tab', 98);
       function wcs_woo_remove_reviews_tabs($tabs) {
       unset($tabs['reviews']);
       return $tabs;
       }
       ```
   
 * then the error message below appeared:
    “Parse error: syntax error, unexpected’
   98’ (T_LNUMBER) in /home/content/p3pnexwpnas08_data03/05/2685705/html/wp-content/
   themes/sydney/functions.php on line 328”
 * I then deleted those new lines of text i inputted but i am still receiving the
   same Parse error message. :/
 * code now looks like:
 * I tried closing it with a ?> and } but it still doesnt work…
 * **[Large code excerpt removed by moderator per [forum rules](https://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use [Pastebin](https://pastebin.com/) for all large code excerpts. It 
   works better anyway.]**

Viewing 1 replies (of 1 total)

 *  Thread Starter [Noicedangel](https://wordpress.org/support/users/noicedangel/)
 * (@noicedangel)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-122/#post-6928303)
 * I was able to fix my problem through smartftp :]

Viewing 1 replies (of 1 total)

The topic ‘Parse error: syntax error…’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Noicedangel](https://wordpress.org/support/users/noicedangel/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-122/#post-6928303)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
